unison/unison-src/errors/poor-error-message/pattern-case-location.u

11 lines
197 B
Plaintext

-- The location of the error is imprecise. It should point to
-- the pattern `Bar.Bar`.
unique type Foo = Foo
unique type Bar = Bar
foo : Foo -> Foo
foo = cases
Foo.Foo -> Foo
Bar.Bar -> Foo