diff options
author | Araq <rumpf_a@web.de> | 2018-09-07 14:07:42 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-09-07 19:21:17 +0200 |
commit | e06a89e11234e8882a4021d8d7cad0883c431f86 (patch) | |
tree | 6cdc2a0ee2ad1e9141862409e153ac3897e51d9a /compiler/jsgen.nim | |
parent | b017138c32df2df2799ebb480bf1b8f5a461d300 (diff) | |
download | Nim-e06a89e11234e8882a4021d8d7cad0883c431f86.tar.gz |
fixes bootstrapping problems
Diffstat (limited to 'compiler/jsgen.nim')
-rw-r--r-- | compiler/jsgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index be3b02388..1878081fd 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -2265,7 +2265,7 @@ proc genClass(conf: ConfigRef; obj: PType; content: Rope; ext: string) = "class $#$# {$n$#$n}$n") % [rope(VersionAsString), cls, extends, content] - let outfile = changeFileExt(completeCFilePath(conf, AbsoluteFile $cls), ext) + let outfile = changeFileExt(completeCFilePath(conf, AbsoluteFile($cls)), ext) discard writeRopeIfNotEqual(result, outfile) proc myClose(graph: ModuleGraph; b: PPassContext, n: PNode): PNode = |