We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9145fbd commit c7f546bCopy full SHA for c7f546b
compiler/types.nim
@@ -124,9 +124,6 @@ proc isFloatLit*(t: PType): bool {.inline.} =
124
result = t.kind == tyFloat and t.n != nil and t.n.kind == nkFloatLit
125
126
proc addDeclaredLoc*(result: var string, conf: ConfigRef; sym: PSym) =
127
- var sym = sym
128
- while sym.typ.kind in {tyStatic}:
129
- sym = sym.typ[0].sym
130
result.add " [$1 declared in $2]" % [sym.kind.toHumanStr, toFileLineCol(conf, sym.info)]
131
132
proc addDeclaredLocMaybe*(result: var string, conf: ConfigRef; sym: PSym) =
0 commit comments