Fix importing and exporting the same name

Run exports through the same identifier generation as imports to ensure
that everything gets a unique identifier and then just make sure all the
appropriate wires are hooked up when dealing with exports and imports.

Closes #1496
This commit is contained in:
Alex Crichton
2019-05-01 13:53:31 -07:00
parent 358ee18ab2
commit 3d43d6e5e8
9 changed files with 112 additions and 50 deletions

2
tests/headless/main.js Normal file
View File

@ -0,0 +1,2 @@
export function import_export_same_name() {
}