parent
05b8085a87
commit
1b7c8482fe
3 changed files with 6 additions and 6 deletions
|
|
@ -174,7 +174,7 @@ proc ensureNoMissingOrUnusedSymbols(c: PContext; scope: PScope) =
|
|||
# maybe they can be made skGenericParam as well.
|
||||
if s.typ != nil and tfImplicitTypeParam notin s.typ.flags and
|
||||
s.typ.kind != tyGenericParam:
|
||||
message(c.config, s.info, hintXDeclaredButNotUsed, getSymRepr(c.config, s))
|
||||
message(c.config, s.info, hintXDeclaredButNotUsed, s.name.s)
|
||||
s = nextIter(it, scope.symbols)
|
||||
|
||||
proc wrongRedefinition*(c: PContext; info: TLineInfo, s: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue