After approximation interpret Contr<*> as Contr<Nothing>

not Contr<out Any?>
This commit is contained in:
Svetlana Isakova
2014-12-10 16:05:51 +03:00
parent 14a53a105b
commit c097e6ee3e
2 changed files with 3 additions and 2 deletions
@@ -8,4 +8,4 @@ fun foo<T>(a: Contr<T>) {}
// T captures 'out Int'
// lower: Contr<Int>
// upper: Contr<out Any?>
// upper: Contr<Nothing>