Idris-dev/test/totality002
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 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
run adjust test totality002 with --consolewidth for use with -f curses 2015-03-19 17:33:42 +00:00
test017.idr Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
test017a.idr Move Fin, Vect and So from prelude to base 2014-12-31 20:18:02 +00:00
test017b.idr Removed '_|_' as a built in declaration and renamed it to 'Void', 2014-10-11 20:00:19 +02:00