aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-07-09 16:14:31 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-07-09 16:14:31 +0200
commit69ef9d69fbc33627c5de2a0dddf3d23213a753d4 (patch)
tree4ed7cd91daf78d402f0798c580b05da15c38309f
parent674bce8c96309ae7c38a7e2b946f3f18430a0b00 (diff)
Document bug
-rw-r--r--BUGS8
1 files changed, 8 insertions, 0 deletions
diff --git a/BUGS b/BUGS
index e10c720..aa34414 100644
--- a/BUGS
+++ b/BUGS
@@ -20,3 +20,11 @@
2. Recursive functions crash the compiler.
foo :: () { return foo(); } /* breaks */
+
+3. The following example function has a use-after-free for a yet
+ undiagnosed reason:
+
+ iota :: () int {
+ x: int = -1;
+ return x;
+ }