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

Relax class fields declr rhs #58

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

lofcz
Copy link
Member

@lofcz lofcz commented Oct 9, 2022

See class test 30 for an example

@CallumDev
Copy link
Contributor

CallumDev commented Oct 9, 2022

While using a nil expression is the least lines of code change, I would set Expr to null and use conditionals to not emit that bytecode later on. Otherwise it's a bit of a waste of memory

@lofcz
Copy link
Member Author

lofcz commented Oct 9, 2022

Optimized in 9a992ad

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