Closed
Description
Consider the following Dhall files:
-- File: schema.dhall
{ Type = {}, default = {=} }
-- File: bug.dhall
let Foo = (./schema.dhall).Type
let f : Foo -> Foo = \(x : Foo) -> x
let Foo = ./schema.dhall
in {Foo, f}
When one runs dhall lint bug.dhall
the content of the file is
let Foo = ./schema.dhall
let f
: Foo -> Foo
= \(x : Foo) -> x
in { Foo, f }
which is ill-typed.
Metadata
Metadata
Assignees
Labels
No labels