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

Correctly handle sentinel slices #573

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

Techatrix
Copy link
Member

fix #482

const CString = [:0]const u8; // now recognizes `CString` as a type
const String = []const u8;

@SuperAuguste
Copy link
Member

Simple but effective, tysm.

@SuperAuguste SuperAuguste merged commit e554c57 into zigtools:master Aug 5, 2022
@Techatrix Techatrix deleted the patch-1 branch August 5, 2022 19:49
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.

sentinel'd slices not recognized as type
2 participants