diff options
author | Araq <rumpf_a@web.de> | 2014-12-18 20:15:40 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-18 20:15:40 +0100 |
commit | f96e0a7523a0f9643f07f4e7e411a8353b39d67a (patch) | |
tree | 0d75b9d50825b8ed2267b4791b0a9fb6dd53a4f5 /compiler/astalgo.nim | |
parent | 280fa9624c0657032c671fec3ea7d9577ebf0642 (diff) | |
download | Nim-f96e0a7523a0f9643f07f4e7e411a8353b39d67a.tar.gz |
fixes #1690
Diffstat (limited to 'compiler/astalgo.nim')
-rw-r--r-- | compiler/astalgo.nim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim index e66158e8d..f23e9a983 100644 --- a/compiler/astalgo.nim +++ b/compiler/astalgo.nim @@ -450,9 +450,10 @@ proc debug(n: PSym) = writeln(stdout, "skUnknown") else: #writeln(stdout, ropeToStr(symToYaml(n, 0, 1))) - writeln(stdout, ropeToStr(ropef("$1_$2: $3, $4, $5", [ - toRope(n.name.s), toRope(n.id), flagsToStr(n.flags), - flagsToStr(n.loc.flags), lineInfoToStr(n.info)]))) + writeln(stdout, "$1_$2: $3, $4, $5, $6" % [ + n.name.s, $n.id, flagsToStr(n.flags).ropeToStr, + flagsToStr(n.loc.flags).ropeToStr, lineInfoToStr(n.info).ropeToStr, + $n.kind]) proc debug(n: PType) = writeln(stdout, ropeToStr(debugType(n))) |