master compiler compiles with devel

This commit is contained in:
Araq
2014-01-23 16:45:17 +01:00
parent f4b81ba92b
commit 2ecff76aac

View File

@@ -283,11 +283,10 @@ proc ropef(frmt: TFormatStr, args: varargs[PRope]): PRope =
assert(RopeInvariant(result))
{.push stack_trace: off, line_trace: off.}
proc `~`*(r: expr[string]): PRope =
proc `~`*(r: string): PRope =
# this is the new optimized "to rope" operator
# the mnemonic is that `~` looks a bit like a rope :)
var r {.global.} = r.ropef
return r
return r.ropef
{.pop.}
proc appf(c: var PRope, frmt: TFormatStr, args: varargs[PRope]) =