summaryrefslogtreecommitdiff
path: root/test/files/pos/t7232c
Commit message (Collapse)AuthorAgeFilesLines
* SI-7232 Fix Java import vs defn. binding precendenceJason Zaugg2013-03-132-0/+14
Java Spec: > A single-type-import declaration d in a compilation unit c > of package p that imports a type named n shadows, throughout > c, the declarations of: > - any top level type named n declared in another compilation > unit of p > - any type named n imported by a type-import-on-demand > declaration in c > - any type named n imported by a static-import-on-demand > declaration in c Scala Spec: > Bindings of different kinds have a precedence defined on them: > 1. Definitions and declarations that are local, inherited, or made > available by a package clause in the same compilation unit where > the definition occurs have highest precedence. > 2. Explicit imports have next highest precedence.