Fix bug in type checker
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user