aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/scala-collections.whitelist
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-17 12:36:58 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-17 12:37:03 +0100
commite59c0baaff669d54eb502b2142783d9f5d75e3b5 (patch)
tree305d9d44ac4b23e968699d2998d8f2a185e617bf /test/dotc/scala-collections.whitelist
parent6b061b5b94fb4e13a97274b28e0ab9ac78b69f27 (diff)
downloaddotty-e59c0baaff669d54eb502b2142783d9f5d75e3b5.tar.gz
dotty-e59c0baaff669d54eb502b2142783d9f5d75e3b5.tar.bz2
dotty-e59c0baaff669d54eb502b2142783d9f5d75e3b5.zip
More refined treatement of pattern type variables
Previously all lower case names were treated as variables in patterns. But that made code like x: cls crash the compiler if `cls` was a class. Also, it owuld preventing this idiom unless one wrote x: `cls` We now do it like scalac and treat lower case names as variables only in arguments of types.
Diffstat (limited to 'test/dotc/scala-collections.whitelist')
0 files changed, 0 insertions, 0 deletions