Skip to content

Import * as not working if the file has an export from #1417

Closed
@torch2424

Description

@torch2424

relates to #1386
relates to #1415

So! My apologies for not noticing this in #1415 . I just made sure the code worked for hello world on my end, and not the more advanced tests 😢

So I started upgrading to 0.14.6 , and I found a new bug, which I showed in the branch: export-star-as-with-export-from-bug.

I made the two changes to the AS tests:

And got the compiler error:

Screenshot from 2020-07-28 18-30-57

Essentially, all of the exports defined in the file work fine, but external exports still don't seem to be resolving.

cc @dcodeIO . I assume this would be more just keep iterating on the imports/exports resolution? 😄 I'll try at it tomorrow since it's the end of my work day haha!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions