13 lines
180 B
Plaintext
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()
|
|
|