Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/ClassRedeclarationInDifferentFiles.kt
T
Dmitry Petrov 06101dba52 KT-13961 REDECLARATION not reported on private-in-file 'foo' vs public 'foo' in different file
Private-in-file declarations conflict with public overload-equivalent declarations
in other files in the same package.

Move functions for grouping possible redeclarations to OverloadResolver
(since they are used only there).

Refactor redeclarations / conflicting overloads reporting.
2016-10-03 11:50:29 +03:00

11 lines
176 B
Kotlin
Vendored

// FILE: f1.kt
package test
class <!PACKAGE_OR_CLASSIFIER_REDECLARATION!>A<!>
class F1
// FILE: f2.kt
package test
class <!PACKAGE_OR_CLASSIFIER_REDECLARATION!>A<!>
class F2