Skip to content

fix: Imports without a name binding - #543

Merged
Anand Krishnamoorthi (anakrish) merged 1 commit into
microsoft:mainfrom
anakrish:imports-issue
Jan 14, 2026
Merged

fix: Imports without a name binding#543
Anand Krishnamoorthi (anakrish) merged 1 commit into
microsoft:mainfrom
anakrish:imports-issue

Conversation

@anakrish

Copy link
Copy Markdown
Collaborator

Handle imports that don't use the as clause to create a binding. These imports are bound to the last identifier in the imported path.

Fix both interpreter and compiler.
Add tests.

fixes #541

Handle imports that don't use the `as` clause to create a binding.
These imports are bound to the last identifier in the imported path.

Fix both interpreter and compiler.
Add tests.

fixes microsoft#541

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>

@dpokluda David Pokluda (dpokluda) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@anakrish
Anand Krishnamoorthi (anakrish) merged commit 9426b2e into microsoft:main Jan 14, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import not being recognized inside rule body

2 participants