diff options
Diffstat (limited to 'lib/system/assign.nim')
-rwxr-xr-x | lib/system/assign.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/assign.nim b/lib/system/assign.nim index a6c274250..895a7f9fd 100755 --- a/lib/system/assign.nim +++ b/lib/system/assign.nim @@ -144,6 +144,8 @@ proc objectInit(dest: Pointer, typ: PNimType) = # ---------------------- assign zero ----------------------------------------- +# dummy declaration; XXX we need 'mixin' here +proc destroy(x: int) = nil proc nimDestroyRange*[T](r: T) = # internal proc used for destroying sequences and arrays for i in countup(0, r.len - 1): destroy(r[i]) |