<IntelliJ gives incorrect "Condition is always fal...
# stackoverflow
u
IntelliJ gives incorrect "Condition is always false" warning I am learning Kotlin by doing exercises on exercism.com. I am currently working on triangles. Part of my solution is like this: class Triangle(a: T, b: T, c: T) { init { require (a != 0 && b != 0 && c != 0) } } On the line with require(), IntelliJ gives the warning: Condition 'a != 0 && b != 0' is always false Condition 'a != 0 && b != 0 && c != 0' is always false I have the...