Skip to content

Fix anonymous inner class compilation - #777

Open
ggleyzer wants to merge 2 commits into
masterfrom
gene/inner
Open

ggleyzer wants to merge 2 commits into
masterfrom
gene/inner

Conversation

@ggleyzer

@ggleyzer ggleyzer commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Dima reported this issue on Discord

The bug is in the compiler - if an anonymous inner class is not an instance child, it should use NEW_X opcode rather than NEWC_X.

Additionally, this change resolves another issue that Dima reported by disallowing access to ref annotated property structures

@ggleyzer
ggleyzer requested a review from cpurdy November 17, 2026 20:18
@ggleyzer
ggleyzer requested review from cpurdy and removed request for cpurdy November 18, 2026 17:35
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.

Prevent struct using virtual toString()

2 participants