aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/GenTraversableFactory.scala
Commit message (Collapse)AuthorAgeFilesLines
* Represent references to Scala2 inner classes as WithFixedSym typesMartin Odersky2015-10-251-6/+2
| | | | | | | Reason: An inner Scala2 class might be shadowed by a same-named class in a subtype. In Dotty this is disallowed butin Scala 2 it is possible. For instance, math.Numeric and math.Ordering both have an inner class "Ops". Normal TypeRef types could not select the shadowed class in Ordering is the prefix is of type Numeric.
* Add fixed version of GenTraversableFactory.Martin Odersky2015-10-241-0/+256
There is still an issue because math uses inner classes named Ops which shadow each other. Dotty can't handle it, so implicit search in `range` goes wrong. The new test has been modified to work around that issue.