mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 08:51:21 +00:00
make tests green again
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user