aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Applications.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-19 12:30:06 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-19 12:30:06 +0100
commitc0ce16a03645056016636d7cda514daed2b7ab70 (patch)
treecf7f16eef908e5ff4b4cf5820073565227e3b6d3 /src/dotty/tools/dotc/typer/Applications.scala
parent6be96724899f9c34db2e6c2617534dc9c4a15528 (diff)
downloaddotty-c0ce16a03645056016636d7cda514daed2b7ab70.tar.gz
dotty-c0ce16a03645056016636d7cda514daed2b7ab70.tar.bz2
dotty-c0ce16a03645056016636d7cda514daed2b7ab70.zip
3 changes to implicit search
1. Shadowing tree uses adaptation funProto of prototype. Previously many shadowing tries failed with errors like "need to follow with "_" to adapt to function". These early failures hid potential shadowing conflicts. 2. Shadowing conflict testing is now done using symbols instead of comparing references. Comparing references gave false negative when a shadoing tree had inferred type parameters, for instance. There were other problems as well. Generally, comparsing references seems too fragile. 3. Inferred views are now re-adapted. This is necessary if the view itself takes another implicit parameter.
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
0 files changed, 0 insertions, 0 deletions