Fix parse errors causing crashes instead of nice errors

This commit is contained in:
Ulf Norell
2019-12-06 17:09:48 +01:00
parent 6ca63e4b40
commit bf5e2e2443
5 changed files with 42 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
contract BadRecord =
entrypoint foo() =
let r = {x = 0, [0] = 1}
r{x = 0, [0] = 1}
r{}