Update test data for tower resolution algorithm
- locals win - unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus - unqualified nested classes are temporarily reported as unresolved - function without receiver win against extension function - explicit import win against star import
This commit is contained in:
committed by
Stanislav Erokhin
parent
66a031f7a0
commit
239502368a
+2
-2
@@ -32,7 +32,7 @@ class Test2<A, B, C>(foo: Any?, bar: Any?) {
|
||||
class Test3<in A, B, C>(foo: Any?, bar: Any?) {
|
||||
val foo = foo ?: this
|
||||
private val bar = bar ?: this
|
||||
private val bas = bas()
|
||||
private val bas = <!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!><!DEBUG_INFO_MISSING_UNRESOLVED!>bas<!>()<!>
|
||||
val bas2 = bas2()
|
||||
|
||||
private fun bas(): Int = null!!
|
||||
@@ -47,7 +47,7 @@ class Test3<in A, B, C>(foo: Any?, bar: Any?) {
|
||||
class Test4<A, out B, C>(foo: Any?, bar: Any?) {
|
||||
val foo = foo ?: this
|
||||
private val bar = bar ?: this
|
||||
private val bas = bas()
|
||||
private val bas = <!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!><!DEBUG_INFO_MISSING_UNRESOLVED!>bas<!>()<!>
|
||||
val bas2 = bas2()
|
||||
|
||||
private fun bas(): Int = null!!
|
||||
|
||||
Reference in New Issue
Block a user