You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the two tabs side-by-side in an editor. Initially there is no error, but when you make any edit (e.g., adding a newline) to b.js, then module.exports.D in a.js is marked with an error Duplicate identifier 'D'. (Making any edit to a.js will make it go away, but then editing b.js makes it come back...)
Note that the require has to be first. My current hypothesis is that getCommonJsExportEquals creates a merged symbol which is !== the symbol for class D, thereby evading the check I added in #24466. I have a simpler fix that I will put up shortly.
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: 2.9.0-dev.20180510
Code
a.js
b.js
Open the two tabs side-by-side in an editor. Initially there is no error, but when you make any edit (e.g., adding a newline) to
b.js
, thenmodule.exports.D
ina.js
is marked with an errorDuplicate identifier 'D'.
(Making any edit toa.js
will make it go away, but then editingb.js
makes it come back...)CC @sandersn
The text was updated successfully, but these errors were encountered: