sophia/test/contracts/namespace_bug.aes
2019-06-20 16:02:19 +02:00

13 lines
180 B
Plaintext

namespace Foo =
record bla = {x : int, y : bool}
function bar() : Foo.bla = {x = 17, y = true}
contract Bug =
// Crashed the type checker
function foo () = Foo.bar()