Skip to content
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

Add support for class renaming via as keyword #136

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KoloInDaCrib
Copy link

When importing a class like import [class] as [name];, the script failed to run because a semicolon is expected at the end after the class itself. This Pull Request adds support for the keyword as so that multiple classes with the same name may be imported, while labelling them with different names to prevent class name collisions.

@kLabz
Copy link
Contributor

kLabz commented Feb 15, 2025

This shouldn't be allowed when everything is true. Which makes the data structure a bit weird.

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.

2 participants