diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-07-09 16:14:23 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-07-09 16:14:23 +0200 |
commit | 674bce8c96309ae7c38a7e2b946f3f18430a0b00 (patch) | |
tree | 9a2b58ad0194493e1998211c08e6c82109309654 /BUGS | |
parent | 1a769e8ef02893f737a88fe683add8ffea7affb1 (diff) |
Support static-local variables
Diffstat (limited to 'BUGS')
-rw-r--r-- | BUGS | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 */ |