register named method id as a reference to avoid collisions - fixes #1664
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { a } from "./a";
|
||||
|
||||
class Foo {
|
||||
_a() {
|
||||
a();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
|
||||
var _a2 = require("./a");
|
||||
|
||||
var Foo = (function () {
|
||||
function Foo() {
|
||||
babelHelpers.classCallCheck(this, Foo);
|
||||
}
|
||||
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: "_a",
|
||||
value: function _a() {
|
||||
(0, _a2.a)();
|
||||
}
|
||||
}]);
|
||||
return Foo;
|
||||
})();
|
||||
Reference in New Issue
Block a user