Skip to content

Fixes #82#83

Merged
benmerckx merged 2 commits intobenmerckx:mainfrom
bommerio:main
Jan 19, 2026
Merged

Fixes #82#83
benmerckx merged 2 commits intobenmerckx:mainfrom
bommerio:main

Conversation

@theJenix
Copy link
Contributor

@theJenix theJenix commented Jan 18, 2026

Issue #82 describes an issue where the wrong name is emitted when generating an iterator call for an aliased import. This PR fixes #82 by changing from using the static type name directly to using the field accessor, and changing write calls to emitValue and emitField.

@theJenix
Copy link
Contributor Author

I added tests and was able to verify the issue in my generated javascript before and after the fix, but I was not actually able to get test failures locally. Please let me know if I missed anything and I can update the PR!

@benmerckx benmerckx merged commit 069b0de into benmerckx:main Jan 19, 2026
4 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.

genes fails to use import aliases when emitting iterator() calls on abstracts

2 participants