Skip to content

[hl] fix crash cast int to null bool - #13049

Open
yuxiaomao wants to merge 2 commits into
HaxeFoundation:developmentfrom
yuxiaomao:dev-hl-fix-cast-bool
Open

yuxiaomao wants to merge 2 commits into
HaxeFoundation:developmentfrom
yuxiaomao:dev-hl-fix-cast-bool

Conversation

@yuxiaomao

Copy link
Copy Markdown
Contributor

Fixes #13007

The runtime behavior is undefined, so I'm not sure if I need a test here.

@tobil4sk

Copy link
Copy Markdown
Member

Maybe it just needs a misc hl test that confirms the compiler runs without crashing

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.

[HL] [Regression] Casting Int to Null<Bool> causes a compile time error on HL

2 participants