Fixed crash in makeScopeInternal

This commit is contained in:
Alexandros Naskos 2021-03-29 12:40:52 +03:00
parent 2d168ed63e
commit 81500697db
No known key found for this signature in database
GPG Key ID: 02BF2E72B0EA32D2

View File

@ -2749,7 +2749,7 @@ fn makeScopeInternal(
}
// Visit parameter types to pick up any error sets and enum
// completions
try makeScopeInternal(
if (param.type_expr != 0) try makeScopeInternal(
allocator,
scopes,
error_completions,