Skip to content

[FIX] Prevent null access on certain errors#367

Open
NotHyper-474 wants to merge 1 commit intoFunkinCrew:experimentalfrom
NotHyper-474:contextless-error
Open

[FIX] Prevent null access on certain errors#367
NotHyper-474 wants to merge 1 commit intoFunkinCrew:experimentalfrom
NotHyper-474:contextless-error

Conversation

@NotHyper-474
Copy link

@NotHyper-474 NotHyper-474 commented Mar 4, 2026

Description

Sometimes, error can be called before curExpr is even able to be set, which causes a null access. This PR allows the error to be shown, however it will have no valid position or origin. Ideally we should make a fix to ensure the error will always have proper context but this will suffice for the time being.

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