Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Represent references to Scala2 inner classes as WithFixedSym types | Martin Odersky | 2015-10-25 | 1 | -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 Odersky | 2015-10-24 | 1 | -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. |