Improve some parse errors

This commit is contained in:
Ulf Norell
2019-09-03 16:51:04 +02:00
parent 61faa3e2dd
commit 412b0b8b6d
6 changed files with 74 additions and 13 deletions
+3
View File
@@ -0,0 +1,3 @@
contract IndentFail =
entrypoint twoSpace() = ()
entrypoint oneSpace() = ()
+4
View File
@@ -0,0 +1,4 @@
contract VClose =
entrypoint missing_bracket() =
let x = [1, 2, 3
entrypoint bar() = ()
+3
View File
@@ -0,0 +1,3 @@
contract VSemi =
record missing_brace = { x : int
entrypoint foo() = ()