Skip to content

Fix regression in checking if qt is a pointer#993

Merged
Vexu merged 1 commit intoVexu:masterfrom
mark2185:master
Apr 25, 2026
Merged

Fix regression in checking if qt is a pointer#993
Vexu merged 1 commit intoVexu:masterfrom
mark2185:master

Conversation

@mark2185
Copy link
Copy Markdown
Contributor

Nullability annotations on array parameters now work again.

Please point me to where I should add tests for this.

Closes #989.

Copy link
Copy Markdown
Owner

@Vexu Vexu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this by adding the function signature to the test/cases/nullability.c integration test, but it shouldn't result in an error so I'm not sure if it's the right approach.

It is the right approach, those syntax tests are meant test both correct and incorrect syntax.

Nullability annotations on array parameters now work again
@mark2185
Copy link
Copy Markdown
Contributor Author

I've added the tests and ran zig build test with zig 0.16.0, passes without any failures.

@Vexu Vexu merged commit ff3d2f9 into Vexu:master Apr 25, 2026
3 checks passed
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.

Regression: nullability specifier cannot be applied to non-pointer type

2 participants