Skip to content

Conversation

@Kriptel
Copy link
Contributor

@Kriptel Kriptel commented Jun 6, 2025

Changing Expr can easily break hscript.Bytes, so it's better to assign index manually.

Kriptel added 4 commits June 1, 2025 11:14
Semicolon should not be required for `EForGen` with `EBlock`.
Changing Expr can easily break `hscript.Bytes`, so it's better to assign index manually.
@Simn
Copy link
Member

Simn commented Jun 6, 2025

What exactly does this fix?

@Kriptel
Copy link
Contributor Author

Kriptel commented Jun 6, 2025

What exactly does this fix?

hscript.Bytes stopped working correctly due to index differences.

@Simn
Copy link
Member

Simn commented Jun 6, 2025

Ah you're talking about adding more constructors to Expr, hmm. That doesn't exactly happen very often but I agree being explicit here is more robust.

@Kriptel Kriptel mentioned this pull request Jun 7, 2025
@ncannasse ncannasse merged commit ce81886 into HaxeFoundation:master Jun 7, 2025
1 check 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.

3 participants