Since 'printStackTrace' now fallbacks to the extension in stdlib, change the test expecting it to be deprecated due to language-version 1.0 accordingly.
This commit is contained in:
+2
-3
@@ -21,7 +21,6 @@ fun foo(x: List<String>, y: Throwable) {
|
|||||||
|
|
||||||
y.fillInStackTrace() checkType { _<Int>() }
|
y.fillInStackTrace() checkType { _<Int>() }
|
||||||
|
|
||||||
// TODO: Relevant extensions has been removed from stdlib
|
// Falls back to extension in stdlib
|
||||||
// We should consider reverting their removal
|
y.printStackTrace()
|
||||||
y.<!DEPRECATION_ERROR!>printStackTrace<!>()
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user