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