[FIR] Consider ConeConstraintSystemHasContradiction as a good reason for DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE error

This commit is contained in:
Dmitriy Novozhilov
2022-11-21 17:39:27 +02:00
committed by Space Team
parent 9b7b517f43
commit 06e88b559a
9 changed files with 33 additions and 63 deletions
@@ -7,7 +7,7 @@ interface A {
fun getA(): A? = null
val x by <!NEW_INFERENCE_ERROR!>lazy {
val x by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE, NEW_INFERENCE_ERROR!>lazy {
(getA() ?: error("error")).list.associateBy {
it
}