I was trying to figure out why my code wasn't producing the expected output, and I came across this strange behavior:component provides App requires io.Output out {For some reason, (true && (true || false)) evaluates to false.
int App:main(AppParam params[])
{
bool a = true
bool b = true
bool c = false
if (a && (b || c)){
out.println("should print, a and b are true")
}
else{
out.println("for some reason this is false")
}
return 0
}
}
Am I missing something, or could this be a bug in the language/runtime?
