relax key aliases for plain methods - fixes #1649
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// #1649
|
||||
|
||||
class Foo {
|
||||
[Symbol()]() {}
|
||||
[Symbol()]() {}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// #1649
|
||||
|
||||
"use strict";
|
||||
|
||||
var Foo = (function () {
|
||||
function Foo() {
|
||||
babelHelpers.classCallCheck(this, Foo);
|
||||
}
|
||||
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: Symbol(),
|
||||
value: function () {}
|
||||
}, {
|
||||
key: Symbol(),
|
||||
value: function () {}
|
||||
}]);
|
||||
return Foo;
|
||||
})();
|
||||
Reference in New Issue
Block a user