Add test for checking ambiguity for root package and the same package
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// FILE: checkAmbiguityBetweenRootAndPackage.kt
|
||||
package test
|
||||
|
||||
val t = <!OVERLOAD_RESOLUTION_AMBIGUITY!>testFun()<!>
|
||||
|
||||
// FILE: checkAmbiguityBetweenRootAndPackageRoot.kt
|
||||
fun testFun() = 12
|
||||
|
||||
// FILE: checkAmbiguityBetweenRootAndPackageTest.kt
|
||||
package test
|
||||
|
||||
fun testFun() = 12
|
||||
Reference in New Issue
Block a user