Idris2/tests/idris2/interface008/expected

24 lines
610 B
Plaintext
Raw Normal View History

1/1: Building Deps (Deps.idr)
Warning: We are about to implicitly bind the following lowercase names.
You may be unintentionally shadowing the associated global definitions:
card is shadowing Main.card
Deps:15:3--15:8
11 | to = id
12 |
13 | interface BadFinite t where
14 | badcard : Nat
15 | badto : t -> Fin card
^^^^^
Error: While processing right hand side of badcard. k is not accessible in this context.
Deps:18:13--18:14
2021-02-11 20:24:26 +03:00
14 | badcard : Nat
15 | badto : t -> Fin card
16 |
17 | implementation BadFinite (Fin k) where
2020-07-22 22:16:43 +03:00
18 | badcard = k
2021-02-11 20:24:26 +03:00
^