- Too deeply nested scopes was a fatal crash and not a regular semantic error. #2796

This commit is contained in:
Christoffer Lerno
2026-01-22 15:13:01 +01:00
parent 6a78864b6c
commit b14053df41
6 changed files with 40 additions and 31 deletions

View File

@@ -0,0 +1,7 @@
fn void test(int a = test()) // #error: Resolution failed due to too deeply nested scopes (257).
{
}
fn void main()
{
test();
}