-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests for export * as ns from 'foo'
syntax
#1498
Conversation
@@ -22,3 +22,5 @@ export { indirectIdName } from './instn-star-props-nrml-indirect_FIXTURE.js'; | |||
export { indirectIdName as indirectIdName2 } from './instn-star-props-nrml-indirect_FIXTURE.js'; | |||
|
|||
export * from './instn-star-props-nrml-star_FIXTURE.js'; | |||
|
|||
export * as exportns from './instn-star-props-nrml-star-as-exportns_FIXTURE.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you will still split this part into a new file?
same for test/language/module-code/instn-star-props-nrml.js
In this case, tests LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm actually really not sure what you are asking, @leobalter
5ed0b9e
to
b0ad5c6
Compare
@spectranaut is this still "WIP", or ready to land? |
Hey @rwaldron -- don't land, we are still waiting for the spec change PR. |
@spectranaut got it, thanks! |
b0ad5c6
to
1d398bc
Compare
Can the title be updated to indicate it’s no longer WIP, since the label now indicates it’s not yet ready to land? |
export * as ns from 'foo'
syntaxexport * as ns from 'foo'
syntax
ec88bf0
to
4c6bb69
Compare
4c6bb69
to
cebd8d8
Compare
cebd8d8
to
cbb5c2c
Compare
@rwaldron @leobalter -- I've added the feature tag, so I believe it is ok to merge? |
This seems like it needs a rebase first. |
cbb5c2c
to
71373f9
Compare
Rebasing and merging |
71373f9
to
be97b42
Compare
be97b42
to
fd9b982
Compare
|
||
var x; | ||
export default x; | ||
export * as default from 'early-dup-export-start-as-dflt.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would make sense to have a positive test case for export * as default from
.
For parser testing, I think it makes sense to have another positive test case for |
Tests for this PR:
tc39/ecma262#1005Now this PR: tc39/ecma262#1174
One or two more commits of tests to come.