From 311325883ed12376718f3d7b4506fbe42fb4d670 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Mon, 17 Sep 2012 17:54:26 +0400 Subject: [PATCH] ++Added custom "sure" function in some diagnostic tests, because it is being removed from builtins. --- .../tests/inference/NoInferenceFromDeclaredBounds.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/testData/diagnostics/tests/inference/NoInferenceFromDeclaredBounds.kt b/compiler/testData/diagnostics/tests/inference/NoInferenceFromDeclaredBounds.kt index 031a8581e01..63362ef865e 100644 --- a/compiler/testData/diagnostics/tests/inference/NoInferenceFromDeclaredBounds.kt +++ b/compiler/testData/diagnostics/tests/inference/NoInferenceFromDeclaredBounds.kt @@ -6,6 +6,6 @@ fun foo1() { fooT22() } -val n : Nothing = null!! +val n : Nothing = null.sure() fun T?.sure() : T = this!!