make tests green again

This commit is contained in:
Andreas Rumpf 2019-03-07 17:11:22 +01:00
commit 5c201791b3

View file

@ -11,7 +11,7 @@ type
Bar[T] = object
x: T
proc deepCopy[T](b: ref Bar[T]): ref Bar[T] {.override.} =
proc `=deepCopy`[T](b: ref Bar[T]): ref Bar[T] =
result.new
result.x = b.x
when T is int: