diff --git a/compiler/testData/diagnostics/tests/Casts.kt b/compiler/testData/diagnostics/tests/Casts.kt index ce582bc9006..3811dfe4cfa 100644 --- a/compiler/testData/diagnostics/tests/Casts.kt +++ b/compiler/testData/diagnostics/tests/Casts.kt @@ -13,6 +13,4 @@ fun test() : Unit { x as? Int? : Int? y as? Int? : Int? Unit - - x as UnresolvedType } diff --git a/compiler/testData/diagnostics/tests/cast/bare/ToErrorType.kt b/compiler/testData/diagnostics/tests/cast/bare/ToErrorType.kt index e4ce74bd120..84bd38b1368 100644 --- a/compiler/testData/diagnostics/tests/cast/bare/ToErrorType.kt +++ b/compiler/testData/diagnostics/tests/cast/bare/ToErrorType.kt @@ -1,6 +1,6 @@ class P fun foo(p: P): Any { - val v = p as G + val v = p as G return v } \ No newline at end of file