aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/rootImplicits.scala
Commit message (Collapse)AuthorAgeFilesLines
* Avoid accessing implicits that come from root imports that are hidden by ↵Martin Odersky2014-02-021-1/+1
| | | | | | | | | | | | some nested import. This also changes the criterion when a root import is disabled. A root import is now disabled if there is an inner import from the same package or module, and the inner import contains at least one disabling clause X => _. (The latter crierion is new; without it, we would consider something like import scala.{collections => c} as a hiding import for Scala, which seems to go too far.)
* Fix checking for disabled root importsMartin Odersky2014-02-021-0/+11
Needs to be done always when hitting a wildcard import, not just when something was found