aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/DottyPredef.scala
Commit message (Collapse)AuthorAgeFilesLines
* Stratify classTags in DottyPredefMartin Odersky2015-06-221-9/+21
| | | | | | | | | | | | Test case in pending/run/array-addition.scala. The problem was that implicit search failed to insert `genericArrayOps` around `Array()`. The reason was that the implicit parameter for `genericArrayOps` was ambiguous, multiple `classTag` methods matched the expected type `ClassTag[?T >: Nothing]`. Stratifying ClassTags in DottyPredef into layers according to implicit priority avoids this problem. This is a temporary solution until we have proper ClassTag handling in place.
* Give implicit ClassTags in DottyPredef explicit types.Dmitry Petrashko2015-05-081-16/+14
|
* Add primitive ClassTags to DottyPredefDmitry Petrashko2015-05-051-0/+16
|
* Make DottyPredef compilable with -Yno-importsMartin Odersky2015-05-041-2/+3
| | | | | | | DottyPredef needs to be compiled with -Yno-imports because it would clash otherwise with the DottyPredef in the root context. Note that ??? has to be written in fully qualified form because of #530.
* Make all Dotty source files end in newline.Dmitry Petrashko2015-04-091-1/+1
|
* Rename dotty.Predef -> dotty.DottyPredefMartin Odersky2014-02-021-0/+10
to avoid accidental confusion with scala.Predef