Idris-dev/test/reg041
Edwin Brady da914af83e Consistency of implicit/pattern name binding rules
We've always said that the rules for binding names in patterns are the
same as the rules for binding names in implicits, i.e. a name beginning
with a lower case letter, not applied to anything, will be bound
implicitly, or treated as a pattern variable. This hasn't actually
always been quite true, even though it was supposed to be...

Correspondingly, added a warning for constructor names which may be
unexpectedly bound implicitly.

This patch changes the pattern binding rules so that it is the case.
Fixes #2653
2015-10-17 18:44:00 +01:00
..
expected Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
ott.idr Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
run Improve the portability of reg041 2014-04-21 07:43:44 +01:00
showu.idr Rename test reg040 to avoid clash 2014-04-20 16:42:15 +01:00