JET-39 Process ?. correctly in the receiver types

This commit is contained in:
Andrey Breslav
2011-05-21 14:00:18 +04:00
parent caad86e880
commit 9d123b5c4f
4 changed files with 59 additions and 14 deletions
+2
View File
@@ -21,3 +21,5 @@ fun [a()] T.foo<T : {(a) : b}>(a : foo) : bar {}
fun [a] {[a] T<T>.(A<B>) : ()}.foo() {}
fun [a()] T.foo<T : [a] {(a) : b}>(a : foo) : bar {}
fun A?.foo() : bar?