more replacements for the deprecated '<'
This commit is contained in:
parent
70ea45cdba
commit
6a3288a60e
19 changed files with 43 additions and 43 deletions
|
|
@ -283,7 +283,7 @@ proc to*[T](data: string): T =
|
|||
loadAny(newStringStream(data), toAny(result), tab)
|
||||
|
||||
when not defined(testing) and isMainModule:
|
||||
template testit(x: expr) = echo($$to[type(x)]($$x))
|
||||
template testit(x: untyped) = echo($$to[type(x)]($$x))
|
||||
|
||||
var x: array[0..4, array[0..4, string]] = [
|
||||
["test", "1", "2", "3", "4"], ["test", "1", "2", "3", "4"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue