| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
To make tests pass, this required a looser specification of
`assumedCanEquals`, so that an abstract type T can be compared to
arbitrary values, as long as its upper bound can be compared. E.g.
T == null
T == "abc"
|
|
|
|
|
| |
If a classtag for `T` is available, a classtag
for `Array[T]` can also be generated.
|
|
|
|
|
|
|
| |
Now diagnoses missing ClassTags of abstract types
as implicit failures.
Also: Simpler API of tpd.clsOf.
|
|
|
|
| |
Fix #530, #654, #681, #684, #685
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
to avoid accidental confusion with scala.Predef
|