Skip to content

Fix @nospecialize usage - #180

Open
mlechu wants to merge 1 commit into
tpapp:masterfrom
mlechu:nospecialize-fixup
Open

mlechu wants to merge 1 commit into
tpapp:masterfrom
mlechu:nospecialize-fixup

Conversation

@mlechu

@mlechu mlechu commented Oct 14, 2026

Copy link
Copy Markdown

This was found in JuliaLowering development. A bug in julia means that
@nospecialize function_definition has never defined the function (see
JuliaLang/julia#49512). I'd like to make that an
error instead, so this PR moves incorrect uses of @nospecialize to the
function body.

I've also added a test checking that the function exists (this was assisted by
an LLM).

@tpapp

tpapp commented Oct 15, 2026

Copy link
Copy Markdown
Owner

@ptiede, since this is your code, would you please review this?

This branch has not been deployed

No deployments
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