Idris2/tests/idris2/perror008/Issue710c.idr
G. Allais 21f2913527
[ fix #710 ] Enforce assumptions about capitalised idents (#1207)
Given we keep getting tripped up by this, here we go:

* Namespaces
* Data names
* Record names
* Data constructor names (except for operators)
* Record constructor names (except for operators)
* Interface constructor names (except for operators)
2021-03-22 13:22:52 +00:00

6 lines
62 B
Idris

infix 3 #
data T : Type where
(#) : T -> T -> T
leaf : T