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

stage2: implement packedStuctToInt for more types #13124

Merged
merged 3 commits into from
Oct 18, 2022

Conversation

GethDW
Copy link
Contributor

@GethDW GethDW commented Oct 10, 2022

Hopefully this implementation is correct. I'll happily add some tests given some hints on how/where to add tests for comptime evaluation.

@Vexu
Copy link
Member

Vexu commented Oct 10, 2022

Duplicate of #12849 which doesn't compile or handle vectors but has tests. If you add tests and the reverse direction and it compiles then I'll merge this over that.

src/value.zig Outdated Show resolved Hide resolved
test/behavior/bitcast.zig Outdated Show resolved Hide resolved
@andrewrk
Copy link
Member

typo in the commit message

-packet
+packed

@GethDW GethDW changed the title stage2: implement packetStuctToInt for more types stage2: implement packedStuctToInt for more types Oct 12, 2022
@GethDW GethDW force-pushed the packed-struct branch 2 times, most recently from 5b977bd to a80ac1f Compare October 12, 2022 10:08
@GethDW GethDW force-pushed the packed-struct branch 2 times, most recently from 4223905 to 4f0abe3 Compare October 15, 2022 13:13
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