mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 02:23:44 +03:00
18 lines
349 B
Plaintext
18 lines
349 B
Plaintext
1/1: Building ConstructorDuplicate (ConstructorDuplicate.idr)
|
|
Error: Main.B is already defined.
|
|
|
|
ConstructorDuplicate.idr:1:14--1:15
|
|
1 | data A = B | B
|
|
^
|
|
|
|
Error: Main.D is already defined.
|
|
|
|
ConstructorDuplicate.idr:5:3--5:4
|
|
1 | data A = B | B
|
|
2 |
|
|
3 | data C : Type -> Type where
|
|
4 | D : C Int
|
|
5 | D : C String
|
|
^
|
|
|