aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/ImportInfo.scala
Commit message (Collapse)AuthorAgeFilesLines
* ImportInfo: removed ctx parameter from constructorGuillaume Martres2017-02-191-18/+17
| | | | | ImportInfo#toString required the ctx parameter,so it was replaced by ImportInfo#toText.
* ImportInfo: Do not capture ContextGuillaume Martres2017-02-181-6/+6
|
* Workaroud #1856: recursively calling a lazy val works differently in DottyGuillaume Martres2017-01-281-1/+10
|
* Adopt scala's scheme for root import hidingMartin Odersky2017-01-151-10/+13
| | | | | | | | | | scalac hides a root import from Predef if there is an eplicit Predef import. We now do the same (previously we did this only if the overriding import undefined something, using a `x => _` syntax). To avoid cycles and races one had to be very careful not to force import symbols too early, so we now compare the name before the symbol proper. All this is likely temporary - the comment of ImportInfo#unimported points to a different, more systematic solution.
* Take nesting into account when ranking implicitsMartin Odersky2016-12-171-1/+1
| | | | | | This will need a spec change. It's necessary in order not to confuse synthetic implicits with each other or with explicit ones in the environment.
* Fix import disablingMartin Odersky2016-12-011-4/+12
| | | | It was broken before, since it worked only on wildcard imports.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+117