Justin Ridgewell 8c46fd159f
Class Props: Don't rename constructor collisions with static props (#7813)
Static props aren't evaluated inside the constructor, so there can't be a collision.
2018-04-25 23:45:52 -04:00

13 lines
242 B
JavaScript

var foo = "bar";
var Foo = function Foo() {
"use strict";
babelHelpers.classCallCheck(this, Foo);
babelHelpers.defineProperty(this, "bar", foo);
var _foo = "foo";
var baz = "baz";
};
babelHelpers.defineProperty(Foo, "bar", baz);