diff options
author | Martin Odersky <odersky@gmail.com> | 2015-06-18 15:07:25 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-22 11:40:20 +0200 |
commit | 204158d4141254d1148534e14d3d26b361b7bc12 (patch) | |
tree | c296fd0202c69961b2f7eea7ec6ccb1efc284a13 /src/dotty/tools | |
parent | 131ab5c1261608715cf2fde3aa44a04777cbda64 (diff) | |
download | dotty-204158d4141254d1148534e14d3d26b361b7bc12.tar.gz dotty-204158d4141254d1148534e14d3d26b361b7bc12.tar.bz2 dotty-204158d4141254d1148534e14d3d26b361b7bc12.zip |
Stratify classTags in DottyPredef
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.
Diffstat (limited to 'src/dotty/tools')
0 files changed, 0 insertions, 0 deletions