Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/PropertyAndInnerClass.kt
T
Vyacheslav Gerasimov bcefa68df0 Always checkout/checkin text files with lf endings
Different line endings on linux/windows prevents gradle from reusing
build cache since endings make task inputs completely different between
systems
2020-03-18 22:33:15 +03:00

14 lines
288 B
Kotlin
Vendored

public class A() {
public val <!REDECLARATION!>FOO<!>: String = "test"
public class <!REDECLARATION!>FOO<!>() { }
}
public class B() {
companion object {
public val <!REDECLARATION!>FOO<!>: String = "test"
public class <!REDECLARATION!>FOO<!>() { }
}
}