Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when proc return type is undeclared parapoly variable #4607

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

zen3ger
Copy link
Contributor

@zen3ger zen3ger commented Dec 22, 2024

Disallow the declaration of new parapoly variables in return types, when the procedure's parapoly scope is itself. This happens if e.g.: foo :: proc() -> $T.

Close #3949
Close #4294
Close #4563

Disallow the declaration of new parapoly variables in return types, when
the procedure's parapoly scope is itself. This happens if e.g.:
`foo :: proc() -> $T`.

Closes odin-lang#3949, odin-lang#4294, odin-lang#4563
@gingerBill gingerBill merged commit 8d400f4 into odin-lang:master Jan 1, 2025
7 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
2 participants