Closed anton-trunov closed 5 days ago
Trying to compile the following
struct Foo {type: Int} // or `forall: 42`, `int: 42`, etc. contract Bar { f: Foo = Foo {type: 42}; }
would result in this FunC error message:
Func compilation error: ... formal parameter name expected instead of `type` ((int)) $Foo$_constructor_type(int type) inline;
Trying to compile the following
would result in this FunC error message: