diff options
| author | Roland Kovacs <zen3ger@tutanota.com> | 2024-12-22 01:52:57 +0100 |
|---|---|---|
| committer | Roland Kovacs <zen3ger@tutanota.com> | 2024-12-22 02:31:25 +0100 |
| commit | f2f952b344b076c17281e0e77195a27d94f58919 (patch) | |
| tree | c7fb568e242eaffe8956f99d5b7d1ea79b869a30 /src/check_decl.cpp | |
| parent | 597fba7c31f5e927b0c7431444dad132352b4046 (diff) | |
Fix crash when proc return type is undeclared parapoly variable
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 #3949, #4294, #4563
Diffstat (limited to 'src/check_decl.cpp')
0 files changed, 0 insertions, 0 deletions