diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-09-01 22:41:08 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-09-01 22:41:08 +0100 |
commit | b7f1f58d246d0fb61bfd954e0638c27da1460a03 (patch) | |
tree | e668d2b9c027df37c7d0cd42e0a6a2cfe2b1f8bb /test | |
parent | 97ebb614aa7f9d79bfbeabcfb1107bc88c8c5f3f (diff) | |
download | micro-lang-hs-b7f1f58d246d0fb61bfd954e0638c27da1460a03.tar.gz micro-lang-hs-b7f1f58d246d0fb61bfd954e0638c27da1460a03.zip |
Use the position of the ident
Diffstat (limited to 'test')
-rw-r--r-- | test/Language.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Language.hs b/test/Language.hs index 9a3ca5d..fbb9c3b 100644 --- a/test/Language.hs +++ b/test/Language.hs @@ -191,7 +191,7 @@ testCase13 = "module main\n\ \var a: u8 = 10;" [ A.Module "main" $ newPos "test" 1 1, - A.Var "a" (A.Type "u8") (A.Num 10 $ newPos "test" 2 13) $ newPos "test" 2 1 + A.Var "a" (A.Type "u8") (A.Num 10 $ newPos "test" 2 13) $ newPos "test" 2 5 ] -- test errors |