iafisher / venice

A modern, high-level, statically-typed programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chained comparison may evaluate operand twice

iafisher opened this issue · comments

func f() -> int {
  print("f")
  return 42
}
1 < f() < 100

prints f twice.