We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9694e commit b83dea3Copy full SHA for b83dea3
lib/pure/collections/sequtils.nim
@@ -663,6 +663,8 @@ template anyIt*(s, pred: untyped): bool =
663
664
template toSeqBuiltin[IX, T](arg: array[IX, T]): seq[T] = @arg
665
666
+template toSeqBuiltin[T](arg: openArray[T]): seq[T] = @arg
667
+
668
template toSeqBuiltin(arg: string): seq[char] = @arg
669
670
template toSeqBuiltin[T](arg: seq[T]): seq[T] = arg
0 commit comments