Skip to content

Enable a test wrongly commented out as "not working"#1224

Merged
Akuli merged 1 commit intomainfrom
more-const-arrays
Feb 8, 2026
Merged

Enable a test wrongly commented out as "not working"#1224
Akuli merged 1 commit intomainfrom
more-const-arrays

Conversation

@Akuli
Copy link
Owner

@Akuli Akuli commented Feb 8, 2026

In #1223 I added tests and commented out a part of them, thinking that some compiler bug prevents it from working. Turns out I just wrote the test wrong. This PR fixes and uncomments that test.

There is also another test case that I won't fix in this PR:

#global arraystring_array: byte[10][2] = ["hello", "world"]  # TODO: doesn't work

The problem with this one is that string constants become pointer strings in the parser, so I would need to add another pointer string to array string conversion. Doable, but slightly more work.

@Akuli Akuli added the skip-release This PR will be excluded from release description and doesn't trigger releasing label Feb 8, 2026
@Akuli Akuli merged commit 74081d4 into main Feb 8, 2026
28 checks passed
@Akuli Akuli deleted the more-const-arrays branch February 8, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release This PR will be excluded from release description and doesn't trigger releasing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant