Skip to content

Commit

Permalink
fixes nim-lang#12148 [backport] (nim-lang#12888)
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq authored Dec 12, 2019
1 parent 9428916 commit 22b2684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/semcall.nim
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ proc getMsgDiagnostic(c: PContext, flags: TExprFlags, n, f: PNode): string =
assert result.startsWith "sk"
result = result[2..^1].toLowerAscii
result &= "\n found '$1' of kind '$2'" % [getSymRepr(c.config, sym), sym.kind.toHumanStr]
sym = nextOverloadIter(o, c, n)
sym = nextOverloadIter(o, c, f)

let ident = considerQuotedIdent(c, f, n).s
if nfDotField in n.flags and nfExplicitCall notin n.flags:
Expand Down

0 comments on commit 22b2684

Please sign in to comment.