Thanks to visit codestin.com
Credit goes to github.com

Skip to content

edsrzf/babel-angularjs-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains a minimal reproduction case for a bug in babel-plugin-angularjs-annotate. When a class method has the same name as an import with an underscore prefix, the method name will incorrectly shadow the import, resulting in a runtime exception.

The source code is contained in index.js, which runs through babel and is compiled to compiled.js. See comments in index.js for more information.

To reproduce:

  • First install dependencies with yarn by running: yarn
  • Run: yarn repro. This will compile index.js and run compiled.js, resulting in an exception.

About

A reproduction case for a bug in a babel plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published