From 674bce8c96309ae7c38a7e2b946f3f18430a0b00 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 9 Jul 2024 16:14:23 +0200 Subject: Support static-local variables --- BUGS | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'BUGS') diff --git a/BUGS b/BUGS index 156fa0b..e10c720 100644 --- a/BUGS +++ b/BUGS @@ -20,13 +20,3 @@ 2. Recursive functions crash the compiler. foo :: () { return foo(); } /* breaks */ - -3. Global variables are broken both when being declared and assigned to - function calls and other globals. Both of these cased should be - illegal; globals if assigned at declaration should only be able to be - assigned to constant expressions. - - foo :: () int { return 42; } - x := 5; - x′ := x; /* breaks */ - x″ := foo(); /* breaks */ -- cgit v1.2.3