Repository navigation
Conversation
|
@hzoo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @danez, @loganfsmyth and @kpdecker to be potential reviewers. |
| @@ -1,6 +0,0 @@ | |||
| for (var i = 0; i < 5; i++) { | |||
There was a problem hiding this comment.
unused (the test is throwing so this file is uncessary)
| _foo.bar(); | ||
|
|
||
| _foo.baz(); No newline at end of file | ||
| foo.bar(); |
There was a problem hiding this comment.
this is wrong it's ok now if foo is the same
| uid = addRequire(source, maxBlockHoist, { | ||
| inline: this.addHelper("interopRequireWildcard") | ||
| inline: this.addHelper("interopRequireWildcard"), | ||
| identifier: specifiers[0].local, |
There was a problem hiding this comment.
added this to reuse for import * as a from './a' to use a as the identifier instead of
const ref = opts.identifier
? opts.identifier
: path.scope.generateUidIdentifier(
basename(source, extname(source))
);
| var _foo2 = babelHelpers.interopRequireDefault(_foo); | ||
|
|
||
| /*after*/ | ||
| foo = babelHelpers.interopRequireDefault(require("foo2")); |
There was a problem hiding this comment.
Seems to me this should be before after ?
|
|
||
| console.log(_props2.default); | ||
| var props = babelHelpers.interopRequireDefault(require("props")); | ||
| console.log(props); |
There was a problem hiding this comment.
This should be props.default.
| key: "send", | ||
| value: function send(message) { | ||
| this.sock.write(_binarySerializer2.default.serializeMessage(message)); | ||
| this.sock.write(BinarySerializer.serializeMessage(message)); |
There was a problem hiding this comment.
This should be BinarySerializer.default
|
|
||
| function hasSingleDefaultImport(specifiers) { | ||
| if (specifiers.length !== 1) { | ||
| return; |
|
@hzoo I've looked over this comment 18 times before I submitted it. |
Rebasing #3585 into 7.0