301b3aad06
#KT-28803 Fixed
10 lines
151 B
Kotlin
Vendored
10 lines
151 B
Kotlin
Vendored
// PROBLEM: Condition is always 'true'
|
|
enum class Enum {
|
|
A, B, C
|
|
}
|
|
|
|
fun foo(x: Int) {}
|
|
|
|
fun bar() {
|
|
foo(if (<caret>Enum.B < Enum.C) 1 else 2)
|
|
} |