Merge branch 'lima' into merge_lima_to_master

This commit is contained in:
Hans Svensson
2021-04-30 14:07:06 +02:00
6 changed files with 130 additions and 24 deletions
+3
View File
@@ -730,6 +730,9 @@ failing_contracts() ->
" g : (int, string) => 'c\nto arguments\n"
" \"Litwo, ojczyzno moja\" : string">>
])
, ?TYPE_ERROR(bad_state,
[<<?Pos(4, 16)
"Conflicting updates for field 'foo'">>])
].
-define(Path(File), "code_errors/" ??File).
+5
View File
@@ -0,0 +1,5 @@
contract C =
record state = { foo : int }
entrypoint init(i : int) =
state{ foo = i,
foo = 42 }