FIR: Update test data (delegate inference)
Changed data looks correct
This commit is contained in:
committed by
teamcityserver
parent
7c5c744e87
commit
010a0c6cdc
Vendored
+1
-1
@@ -9,6 +9,6 @@ object CommonCase {
|
||||
operator fun <D, E, R> Fas<D, E, R>.provideDelegate(host: D, p: Any?): Fas<D, E, R> = TODO()
|
||||
operator fun <D, E, R> Fas<D, E, R>.getValue(receiver: E, p: Any?): R = TODO()
|
||||
|
||||
val Long.test1: String by delegate() // common test, not working because of Inference1
|
||||
val Long.test1: String by <!TYPE_MISMATCH!>delegate()<!> // common test, not working because of Inference1
|
||||
val Long.test2: String by delegate<CommonCase, Long, String>() // should work
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user