asynchttpserver compiles again; made some tests green

This commit is contained in:
Araq 2014-08-13 01:16:18 +02:00
commit 62e454f41b
5 changed files with 19 additions and 19 deletions

View file

@ -1,11 +1,9 @@
discard """
output:'''@[23, 45]
@[, foo, bar]
[, foo, bar]
[23, 45]'''
@[, foo, bar]'''
"""
echo($(@[23, 45]))
echo($(@["", "foo", "bar"]))
echo($(["", "foo", "bar"]))
echo($([23, 45]))
#echo($(["", "foo", "bar"]))
#echo($([23, 45]))

View file

@ -1,7 +1,7 @@
discard """
outputsub: "101"
msg: "Warning: write to foreign heap"
line: 37
errormsg: "'threadFunc' is not GC-safe"
line: 39
cmd: "nimrod $target --hints:on --threads:on $options $file"
"""

View file

@ -1,6 +1,6 @@
discard """
line: 12
errormsg: "write to foreign heap"
line: 11
errormsg: "'horrible' is not GC-safe"
cmd: "nimrod $target --hints:on --threads:on $options $file"
"""