do not add NO_EXPECTED_TYPE as a subtype constraint to constraint system

fixed exception from EA
This commit is contained in:
Svetlana Isakova
2013-09-30 14:23:57 +04:00
parent 0a0f76239f
commit 6c584fd252
8 changed files with 68 additions and 2 deletions
@@ -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")
}
}