Idris2/tests/idris2/error011/expected

18 lines
361 B
Plaintext
Raw Normal View History

1/1: Building ConstructorDuplicate (ConstructorDuplicate.idr)
Error: Main.B is already defined.
ConstructorDuplicate.idr:1:14--1:15
1 | data A = B | B
2021-02-11 20:24:26 +03:00
^
Error: Main.D is already defined.
ConstructorDuplicate.idr:5:3--5:15
2021-02-11 20:24:26 +03:00
1 | data A = B | B
2 |
3 | data C : Type -> Type where
4 | D : C Int
5 | D : C String
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^