Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

fix cast result types and support more casts#10

Merged
Vexu merged 5 commits intoziglang:mainfrom
sno2:casts
Feb 12, 2025
Merged

fix cast result types and support more casts#10
Vexu merged 5 commits intoziglang:mainfrom
sno2:casts

Conversation

@sno2
Copy link
Contributor

@sno2 sno2 commented Feb 12, 2025

See commits for details.

sno2 added 2 commits February 12, 2025 09:50
Some casts would not have a result type emitted. This fixes the issue
and adds onto an existing test to maintain the correct behavior.
@sno2 sno2 force-pushed the casts branch 2 times, most recently from b0d0cf0 to 031b679 Compare February 12, 2025 15:53
I copied an existing test case but removed some dependencies on
using functions as pointers to allow it to pass.
@Vexu Vexu merged commit 8eedcf4 into ziglang:main Feb 12, 2025
3 checks passed
@sno2 sno2 deleted the casts branch February 12, 2025 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants