Files
pplus-library/mojo/probes/float-compare-literal-left.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

6 lines
193 B
Mojo

# probe: can a whole-number literal stand left of a Float64 in a comparison? (no: 90 <= x has no overload; x >= 90 does)
# expect: compile-error
def main():
var x = 95.5
print(90 <= x)