Added test with conflicting function overloads in different files.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
// FILE: a.kt
|
||||
val <!REDECLARATION, REDECLARATION!>a<!> : Int = 1
|
||||
<!CONFLICTING_OVERLOADS!>fun f()<!> {
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
val <!REDECLARATION, REDECLARATION!>a<!> : Int = 1
|
||||
val <!REDECLARATION, REDECLARATION!>a<!> : Int = 1
|
||||
<!CONFLICTING_OVERLOADS!>fun f()<!> {
|
||||
}
|
||||
|
||||
@@ -2,3 +2,5 @@ package
|
||||
|
||||
internal val a: kotlin.Int = 1
|
||||
internal val a: kotlin.Int = 1
|
||||
internal fun f(): kotlin.Unit
|
||||
internal fun f(): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user