tests are green again

This commit is contained in:
Araq 2011-06-28 01:31:53 +02:00
commit 5c94a9e1ae
11 changed files with 23 additions and 558 deletions

View file

@ -11,7 +11,7 @@ proc bp(x: var TB) = x.b[high(x.b)] = -1
# in Nimrod proc (x: TB) is compatible to proc (x: TA),
# but this is not type safe:
var f: proc (x: var TA) = bp
var f = cast[proc (x: var TA)](bp)
var a: TA
f(a) # bp expects a TB, but gets a TA