Test case for another name space bug

This commit is contained in:
Ulf Norell 2019-06-27 09:13:10 +02:00
parent a47fa59f5b
commit 259bae1720

View File

@ -8,5 +8,11 @@ namespace Foo =
contract Bug = contract Bug =
// Crashed the type checker // Crashed the type checker
function foo () = Foo.bar() function foo() = Foo.bar()
// Also crashed the type checker
type t = Foo.bla
function test() =
let x : t = Foo.bar()
x