do not add NO_EXPECTED_TYPE as a subtype constraint to constraint system
fixed exception from EA
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
class A {
|
||||
var a by <!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>MyProperty<!>()
|
||||
}
|
||||
|
||||
class MyProperty<T, R> {
|
||||
|
||||
public fun get(thisRef: R, desc: PropertyMetadata): T {
|
||||
throw Exception("$thisRef $desc")
|
||||
}
|
||||
|
||||
public fun set(thisRef: R, desc: PropertyMetadata, t: T) {
|
||||
throw Exception("$thisRef $desc $t")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user