aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-07-08 23:33:43 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-07-08 23:33:43 +0200
commit7b1cb6c2383254c55c30bf2aa7626ff20a1fc1b9 (patch)
treee88628d2714583263680a2abfa9c830f7efe7188
parent71fb62d896ac3d34d86636123470f09482821add (diff)
Add a recursion bug
-rw-r--r--BUGS4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUGS b/BUGS
index 2638f5c..e10c720 100644
--- a/BUGS
+++ b/BUGS
@@ -16,3 +16,7 @@
variables. If this is indeed the cause, then there should most
probably be separate scope-trees; one which has scopes for constants,
and one which has scopes for variables.
+
+2. Recursive functions crash the compiler.
+
+ foo :: () { return foo(); } /* breaks */