From 16a0c55c6cec636bc431961c4a250cde02fce17a Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Tue, 11 Oct 2016 05:07:59 +0300 Subject: [PATCH] Since 'printStackTrace' now fallbacks to the extension in stdlib, change the test expecting it to be deprecated due to language-version 1.0 accordingly. --- .../testsWithJava8/targetedBuiltIns/unsupportedFeature.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/testData/diagnostics/testsWithJava8/targetedBuiltIns/unsupportedFeature.kt b/compiler/testData/diagnostics/testsWithJava8/targetedBuiltIns/unsupportedFeature.kt index ecd63c52388..b76a6a47bcb 100644 --- a/compiler/testData/diagnostics/testsWithJava8/targetedBuiltIns/unsupportedFeature.kt +++ b/compiler/testData/diagnostics/testsWithJava8/targetedBuiltIns/unsupportedFeature.kt @@ -21,7 +21,6 @@ fun foo(x: List, y: Throwable) { y.fillInStackTrace() checkType { _() } - // TODO: Relevant extensions has been removed from stdlib - // We should consider reverting their removal - y.printStackTrace() + // Falls back to extension in stdlib + y.printStackTrace() }