t19737.nim 201 B

12345678910111213141516
  1. # issue #19737
  2. import ./m19737
  3. var m: seq[uint64]
  4. proc foo(x: bool) = discard
  5. proc test[T: uint64|uint32](s: var seq[T]) =
  6. var tmp = newSeq[T](1)
  7. s = newSeq[T](1)
  8. foo s[0] > tmp[0]
  9. test(m)