mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-25795 Fixed closes https://github.com/JetBrains/intellij-community/pull/2477 GitOrigin-RevId: 201c98330b72e092903f88ad1350071f480282a3
7 lines
216 B
Plaintext
7 lines
216 B
Plaintext
// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
|
|
fun test() {
|
|
when (val foo = 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) {
|
|
1 -> foo
|
|
else -> 24
|
|
}
|
|
} |