aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions.bad
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-28 08:36:45 +0200
committerBad Diode <bd@badd10de.dev>2024-06-28 08:36:45 +0200
commit532a6ce0b88fde6ae747589de9752dba86cece39 (patch)
tree3dc18a39a3aaf77a045b74c67958282362c7b922 /tests/functions.bad
parent3a639adc1daa7a17d100403583003c79d116748f (diff)
downloadbdl-532a6ce0b88fde6ae747589de9752dba86cece39.tar.gz
bdl-532a6ce0b88fde6ae747589de9752dba86cece39.zip
Fix some typechecking errors
Diffstat (limited to 'tests/functions.bad')
-rw-r--r--tests/functions.bad4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functions.bad b/tests/functions.bad
index 3149a24..8286908 100644
--- a/tests/functions.bad
+++ b/tests/functions.bad
@@ -24,6 +24,6 @@ fun baz(a: int, b: str): (int, str) {
24} 24}
25 25
26; Make sure we can use pointer types on params and return values. 26; Make sure we can use pointer types on params and return values.
27fun test(a: @int[256], b: @str): @int { 27fun test(a: int[256], b: @str): @int {
28 a 28 @a[32]
29} 29}