t8339.nim 149 B

123456789
  1. discard """
  2. errormsg: "type mismatch: got <seq[int]> but expected 'seq[float]'"
  3. line: 8
  4. """
  5. import sequtils
  6. var x: seq[float] = @[1].mapIt(it)