tmangle.nim 254 B

1234567891011121314151617
  1. block:
  2. proc hello() =
  3. let NAN_INFINITY = 12
  4. doAssert NAN_INFINITY == 12
  5. let INF = "2.0"
  6. doAssert INF == "2.0"
  7. let NAN = 2.3
  8. doAssert NAN == 2.3
  9. hello()
  10. block:
  11. proc hello(NAN: float) =
  12. doAssert NAN == 2.0
  13. hello(2.0)