With a slightly different error message It might be a little clearer to amateurs on why it was creating an error: “Incompatible types: condition will always be false”.
Although maybe the error is not with regard to “condition is always false” because I see that there is no error for this code:
if ( 2 > 3) println(“greater”) else println(“less than”)