m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/bad/outOfTupleBounds.mim
diff options
context:
space:
mode:
Diffstat (limited to 'bad/outOfTupleBounds.mim')
-rw-r--r--bad/outOfTupleBounds.mim4
1 files changed, 4 insertions, 0 deletions
diff --git a/bad/outOfTupleBounds.mim b/bad/outOfTupleBounds.mim
new file mode 100644
index 0000000..9069ea6
--- /dev/null
+++ b/bad/outOfTupleBounds.mim
@@ -0,0 +1,4 @@
+; tuples are indexed from 1
+; we know the tuple's size during typechecking, so this is a static typechecking
+; error
+{1 2 3}.4