tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
parent
ac9c1cd6b9
commit
e80465dacf
372 changed files with 4486 additions and 4486 deletions
|
|
@ -42,18 +42,18 @@ const TypeList = [int, string, seq[int]]
|
|||
|
||||
macro selectType(inType: typedesc): typedesc =
|
||||
var typeSeq = @[float, TBar[int]]
|
||||
|
||||
|
||||
for t in TypeList:
|
||||
typeSeq.add(t)
|
||||
|
||||
typeSeq.add(inType)
|
||||
typeSeq.add(type(10))
|
||||
|
||||
|
||||
var typeSeq2: seq[typedesc] = @[]
|
||||
typeSeq2 = typeSeq
|
||||
|
||||
result = typeSeq2[5]
|
||||
|
||||
|
||||
var xvar: selectType(string)
|
||||
xvar = "proba"
|
||||
echo xvar.type.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue