Work-around a Nim compilation issue
This commit is contained in:
parent
acd5a6063c
commit
7dd9a92ccb
1 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ proc append*(s: OutputStreamVar, b: byte) =
|
|||
s.head = shift(s.head, 1)
|
||||
|
||||
template append*(s: OutputStreamVar, c: char) =
|
||||
s.append byte(c)
|
||||
bind append
|
||||
append s, byte(c)
|
||||
|
||||
proc append*(s: OutputStreamVar, bytes: openarray[byte]) =
|
||||
# TODO: this can use copyMem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue