Skip to content

Fix var NULL ptr global and the tests#488

Open
paugier wants to merge 2 commits intospylang:mainfrom
paugier:var-NULL-global
Open

Fix var NULL ptr global and the tests#488
paugier wants to merge 2 commits intospylang:mainfrom
paugier:var-NULL-global

Conversation

@paugier
Copy link
Copy Markdown
Contributor

@paugier paugier commented Apr 25, 2026

@antocuni, this is a very simple PR just to fix var BUF: gc_ptr[u8] = gc_ptr[u8].NULL at the global level.

The diff was given by @antocuni in #484 (comment) and I just modified two existing tests.

It seems to me that it is not very useful to have a constant null global pointer so I added var to the related tests, so that they fail.

Is it correct?

@paugier
Copy link
Copy Markdown
Contributor Author

paugier commented Apr 29, 2026

This one is another very small and simple PR. Just slightly modify a test to get the SPy bug and the fix, about a quite evident logic bug (diff by @antocuni).

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.

1 participant