Skip to content

cgen: fix fn_var_signature() support nr_muls#26075

Merged
spytheman merged 1 commit into
vlang:masterfrom
kbkpbot:fix-cgen-fn-sig-with-nr_muls
Dec 22, 2025
Merged

cgen: fix fn_var_signature() support nr_muls#26075
spytheman merged 1 commit into
vlang:masterfrom
kbkpbot:fix-cgen-fn-sig-with-nr_muls

Conversation

@kbkpbot

@kbkpbot kbkpbot commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

Fix issue #26049

original code only support gen fn sig :

void (*var_name) (int, string)

and now we can support fn sig such as :

void (*****var_name) (int, string)

@kbkpbot kbkpbot linked an issue Dec 22, 2025 that may be closed by this pull request
@JalonSolov

Copy link
Copy Markdown
Collaborator

Crash and burn waiting to happen...

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.
Thank you @kbkpbot .

@spytheman spytheman merged commit 24e9f68 into vlang:master Dec 22, 2025
83 of 84 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.

Incorrect function reference captured in closure leads to crash

3 participants