Add checks on event constructor arguments to type checker

This commit is contained in:
Ulf Norell
2019-02-04 11:56:06 +01:00
parent e6c9d0fac1
commit 10be09fe30
6 changed files with 99 additions and 40 deletions
-1
View File
@@ -18,7 +18,6 @@
contract SimpleStorage =
type event = int
record state = { data : int }
function init(value : int) : state = { data = value }