Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt526UnresolvedReferenceInnerStatic.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

16 lines
316 B
Plaintext

// http://youtrack.jetbrains.net/issue/KT-526
// KT-526 Unresolved reference for inner static class
package demo
class Foo {
class object {
class Bar() { }
}
}
class User {
fun main() : Unit {
var <!UNUSED_VARIABLE!>boo<!> : Foo.Bar? /* <-- this reference is red */ = Foo.Bar()
}
}