summary refs log tree commit diff stats
path: root/tests/errmsgs/t8339.nim
blob: f0a97658a7daf4c6a5bc388d1170faaa8dcf1dae (plain) (blame)
1
2
3
4
5
6
7
8
discard """
  line: 8
  errormsg: "type mismatch: got <seq[int]> but expected 'seq[float]'"
"""

import sequtils

var x: seq[float] = @[1].mapIt(it)