show bug with implementation of lte (et al) as keyword#21373
Merged
kategengler merged 3 commits intomainfrom May 6, 2026
Merged
show bug with implementation of lte (et al) as keyword#21373kategengler merged 3 commits intomainfrom
kategengler merged 3 commits intomainfrom
Conversation
Contributor
📊 Size reportTarball size — dist/dev 0%↑
dist/prod 0%↑
smoke-tests/v2-app-hello-world-template/dist No changes
🤖 This report was automatically generated by wyvox/pkg-size |
Contributor
| ) { | ||
| if (env.meta?.jsutils) { | ||
| node.original = env.meta.jsutils.bindImport(moduleSpecifier, name, node, { | ||
| name, |
Contributor
There was a problem hiding this comment.
turns out "name" isn't a thing
NullVoxPopuli
approved these changes
May 6, 2026
Member
Author
|
I requested a review from someone else in framework since I made the test and you did the fix @NullVoxPopuli 😂 |
Contributor
|
cahoots! |
kategengler
approved these changes
May 6, 2026
Member
kategengler
left a comment
There was a problem hiding this comment.
Should we have a more general test for this for all keywords too?
Contributor
|
they all use the same codepath (what was changed), so testing more keywords would be redundant |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I discussed this with @NullVoxPopuli last week, but the way that we have implemented all the "X as keyword" PRs (where they automatically add an import) means that the named import now pollutes the JS namespace for the whole file.
The example is a bit contrived in this PR but it demos the problem e.g. we expect this smoke test to fail but it doesn't 🙈Edit: thanks to @kategengler for the hint on how to make this fail when we have the bad behaviour 🎉