Skip to content

Fix completions for interned null-terminated slice#2641

Merged
Techatrix merged 1 commit into
zigtools:masterfrom
FnControlOption:completions
Mar 10, 2026
Merged

Fix completions for interned null-terminated slice#2641
Techatrix merged 1 commit into
zigtools:masterfrom
FnControlOption:completions

Conversation

@FnControlOption

Copy link
Copy Markdown
Contributor

For example:

const foo = if (undefined) "a" else "ab";
const bar = foo.<cursor>

Also deleted an assert that causes a crash since the type string begins with [:0] instead of []

@Techatrix Techatrix merged commit 57da2a2 into zigtools:master Mar 10, 2026
6 checks passed
@FnControlOption FnControlOption deleted the completions branch March 10, 2026 14:27
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