t8339.nim 149 B

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