2020-06-21 00:39:03 +03:00
|
|
|
1/1: Building ConstructorDuplicate (ConstructorDuplicate.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: Main.B is already defined.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
ConstructorDuplicate:1:14--1:15
|
2020-07-28 15:11:42 +03:00
|
|
|
1 | data A = B | B
|
2021-02-11 20:24:26 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: Main.D is already defined.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
ConstructorDuplicate:5:3--5:4
|
2021-02-11 20:24:26 +03:00
|
|
|
1 | data A = B | B
|
|
|
|
2 |
|
|
|
|
3 | data C : Type -> Type where
|
|
|
|
4 | D : C Int
|
2020-07-28 15:11:42 +03:00
|
|
|
5 | D : C String
|
2021-04-07 14:21:17 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|