diff options
Diffstat (limited to 'plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after')
-rw-r--r-- | plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after index 2e618d331b71..9b5c2d414600 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after +++ b/plugins/kotlin/idea/tests/testData/quickfix/surroundWithNullCheck/unsafeCallInsideWhen.kt.after @@ -1,4 +1,5 @@ // "Surround with null check" "true" +// ERROR: 'when' expression must be exhaustive, add necessary 'false' branch or 'else' branch instead fun foo(arg: Int?, flag: Boolean) { when (flag) { |