From b7966f451270b4ae479c857bfed7afea35d401a3 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Wed, 22 Aug 2012 13:41:27 +0400 Subject: [PATCH] test fixed --- .../tests/incompleteCode/checkNothingIsSubtype.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/testData/diagnostics/tests/incompleteCode/checkNothingIsSubtype.kt b/compiler/testData/diagnostics/tests/incompleteCode/checkNothingIsSubtype.kt index 0aa8318a92d..15a67ec6473 100644 --- a/compiler/testData/diagnostics/tests/incompleteCode/checkNothingIsSubtype.kt +++ b/compiler/testData/diagnostics/tests/incompleteCode/checkNothingIsSubtype.kt @@ -9,6 +9,6 @@ fun test(nothing: Nothing?) { } fun sum(a : IntArray) : Int { - for (n - return "?" -} + for (n + return "?" +} \ No newline at end of file