summary refs log tree commit diff stats
path: root/compiler/ccgstmts.nim
diff options
context:
space:
mode:
authorKier Davis <kierdavis@gmail.com>2016-07-09 17:34:01 +0100
committerKier Davis <kierdavis@gmail.com>2016-07-09 17:34:01 +0100
commit449960bf7e3cad1aa4f3e38e39582ac220237ecb (patch)
tree3235430b10b5642a9061f28f7dbdfb96fa2a2cbe /compiler/ccgstmts.nim
parent03902484199ac5cd05795aaf9923467161322aad (diff)
downloadNim-449960bf7e3cad1aa4f3e38e39582ac220237ecb.tar.gz
Add a fix for clear() on non-ref types by adding a missing 'var' annotation to the type signature
However, this fix won't take effect until a compiler bug (#4448) is fixed. Until then, the codebase functions identically to
how it did before this commit (calls to clear() fail to compile for Table/OrderedTable/CountTable as the argument is
immutable).
Diffstat (limited to 'compiler/ccgstmts.nim')
0 files changed, 0 insertions, 0 deletions