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>() }
|
||||
|
||||
// TODO: Relevant extensions has been removed from stdlib
|
||||
// We should consider reverting their removal
|
||||
y.<!DEPRECATION_ERROR!>printStackTrace<!>()
|
||||
// Falls back to extension in stdlib
|
||||
y.printStackTrace()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user