Synthetic extensions wins against top-level extension.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
// IS_APPLICABLE: true
|
||||
import java.io.File
|
||||
|
||||
val File.absolutePath: String get() = ""
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: true
|
||||
import java.io.File
|
||||
|
||||
val File.absolutePath: String get() = ""
|
||||
|
||||
fun foo(file: File) {
|
||||
file.absolutePath
|
||||
}
|
||||
Reference in New Issue
Block a user