mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 13:11:30 +03:00
12 lines
285 B
Plaintext
12 lines
285 B
Plaintext
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
|
|
^^^^^^^^^^^^^
|
|
|