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
8 lines
231 B
Kotlin
8 lines
231 B
Kotlin
// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
|
|
fun test() {
|
|
val <caret>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
|
|
when (foo) {
|
|
1 -> foo
|
|
else -> 24
|
|
}
|
|
} |