Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes (ziglang#16617) #20548

Merged
merged 6 commits into from
Jul 15, 2024
Merged

fixes (ziglang#16617) #20548

merged 6 commits into from
Jul 15, 2024

Conversation

fmaggi
Copy link
Contributor

@fmaggi fmaggi commented Jul 9, 2024

fix(#16617)
Added check to Sema.analyzeAs for opaque destination types. Changed test case to reflect new logic.

With this changes code like const a = @as(anyopaque, undefined); is no longer valid. I dont know if these are the intended semantics for opaque types though.

@fmaggi fmaggi changed the title fixes #16617 fixes (ziglang#16617) Jul 9, 2024
@Vexu Vexu merged commit 583e698 into ziglang:master Jul 15, 2024
10 checks passed
@nektro
Copy link
Contributor

nektro commented Jul 15, 2024

cc merge didnt close issue

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.

None yet

4 participants