After approximation interpret Contr<*> as Contr<Nothing>
not Contr<out Any?>
This commit is contained in:
@@ -8,4 +8,4 @@ fun foo<T>(a: Contr<T>) {}
|
||||
|
||||
// T captures 'out Int'
|
||||
// lower: Contr<Int>
|
||||
// upper: Contr<out Any?>
|
||||
// upper: Contr<Nothing>
|
||||
|
||||
Reference in New Issue
Block a user