Skip to content

Fix Spin2 ABORT/CATCH#509

Merged
totalspectrum merged 1 commit intototalspectrum:masterfrom
Wuerfel21:W21-fix-spin2-abort
Mar 15, 2026
Merged

Fix Spin2 ABORT/CATCH#509
totalspectrum merged 1 commit intototalspectrum:masterfrom
Wuerfel21:W21-fix-spin2-abort

Conversation

@Wuerfel21
Copy link
Contributor

This became chuper broken at 98e32c2 when you tried to correct the return value (I still think the way Spin2 does it is really stupid). If you never evaluate ast->left, that actually gets rid of the whole call I'm trying to do, ooops!

Maybe using the bool operator is a bit of a hack, but codegen seems fine to me.

This broke the Spin Hexagon P2 port.

@Wuerfel21
Copy link
Contributor Author

(The total lack of tests with this feature is quite dire)

@totalspectrum totalspectrum merged commit 50c7b00 into totalspectrum:master Mar 15, 2026
6 checks passed
@totalspectrum
Copy link
Owner

Thanks again, Ada, I'm glad you caught this. Yes, we need more tests :(.

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