summaryrefslogblamecommitdiff
path: root/test/files/neg/t2405.scala
blob: 6982285b985e5cdfa74cf9f73c1392a3061dd91d (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                    
object A { implicit val x: Int = 1 }

// Expecting shadowing #1
object Test2 {
	{
		import A.{x => y}
		def y: Int = 0
		implicitly[Int]
	}
}