make some tests green again

This commit is contained in:
Araq
2018-11-04 13:16:21 +01:00
parent b0217beadf
commit fcbe611899
2 changed files with 4 additions and 5 deletions

View File

@@ -1,10 +1,9 @@
discard """
nimout: '''
found 'a' of kind 'var'
'''
file: "tnoop.nim"
line: 13
errormsg: "attempting to call routine: 'a'"
errormsg: "attempting to call undeclared routine: 'a'"
"""

View File

@@ -158,7 +158,7 @@ when true:
var xx = xs.mapIt(asFoo($(it + 5)))
block t4674:
when false:
type
FooObj[T] = object
v: T