Idris2/tests/idris2/error015/expected

12 lines
285 B
Plaintext
Raw Normal View History

1/1: Building Issue110 (Issue110.idr)
Error: Declaration name (f) shadowed by a pattern variable.
Issue110.idr:8:1--8:14
4 | data Tup : (a,b : Type) -> Type where
5 | MkTup : (1 f : a) -> (1 s : b) -> Tup a b
6 |
7 | f : Tup a b -> a
8 | f (MkTup f s) = f
^^^^^^^^^^^^^