Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/RedeclarationInMultiFile.kt
T
Dmitry Petrov 829fc6938a KT-9547: private package member can conflict only with the members
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
2015-10-22 10:45:49 +03:00

10 lines
181 B
Kotlin
Vendored

// FILE: a.kt
val <!REDECLARATION!>a<!> : Int = 1
<!CONFLICTING_OVERLOADS!>fun f()<!> {
}
// FILE: b.kt
val <!REDECLARATION!>a<!> : Int = 1
<!CONFLICTING_OVERLOADS!>fun f()<!> {
}