[Test] Reproduce KT-66313
This commit is contained in:
committed by
Space Team
parent
5fe3fa878e
commit
fece081265
+15
@@ -0,0 +1,15 @@
|
||||
// ISSUE: KT-66313
|
||||
|
||||
val foo: String get() = ""
|
||||
|
||||
class Test1 {
|
||||
private val otherFoo = foo
|
||||
|
||||
fun getFoo() = <!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>otherFoo<!>
|
||||
}
|
||||
|
||||
class Test2 {
|
||||
fun getFoo() = otherFoo
|
||||
|
||||
private val otherFoo = foo
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// ISSUE: KT-66313
|
||||
|
||||
val foo: String get() = ""
|
||||
|
||||
class Test1 {
|
||||
private val otherFoo = foo
|
||||
|
||||
fun getFoo() = otherFoo
|
||||
}
|
||||
|
||||
class Test2 {
|
||||
fun getFoo() = otherFoo
|
||||
|
||||
private val otherFoo = foo
|
||||
}
|
||||
Reference in New Issue
Block a user