Allow exporting a binding before its declaration#14700
Allow exporting a binding before its declaration#14700sandersn merged 1 commit intomicrosoft:masterfrom
Conversation
|
@Kovensky, It will cover your contributions to all Microsoft-managed open source projects. |
| export { x } | ||
| const x = 'x' | ||
|
|
||
| export { Y as Z } |
There was a problem hiding this comment.
Strangely, this was not an error; only const and let were errors, even though class Foo {} has the exact same behavior as let Foo = class {} (no hoisting, has TDZ).
|
LGTM |
|
@Kovensky, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
|
Last call before I merge this |
|
Sorry, looks like we forgot about this one. I'll merge from master and then merge the PR once Travis runs one more time. |
|
OK, I manually merged after following github's instructions, which don't automatically trigger Travis. So...uh...I'm watching Travis build on master right now. 😅 |
Fixes #14679