-
Notifications
You must be signed in to change notification settings - Fork 791
Closed
Labels
Description
After updating to the latest version I am experiencing serious issues on method search:
A.js:
class A {
render(){
console.log(this.getContent());
}
}
export default A;
B.js:
import A from './A';
class B extends A {
getContent(){
return 'hooray';
}
}
export default B;
now trying to invoke:
let b = new B();
b.render();
Even more confusing:
...
b.getContent();
throws the same exception.
The method is not accessable as long as B extends A. Just remove ... extends A ... then b.getContent can be accessed.