More precise error messages for uninitialized fields in the presence of inheritance
This commit is contained in:
parent
0521f98486
commit
7b7e42be54
3 changed files with 39 additions and 38 deletions
|
|
@ -1041,3 +1041,10 @@ proc isAddrNode*(n: PNode): bool =
|
|||
if n[0].kind == nkSym and n[0].sym.magic == mAddr: true
|
||||
else: false
|
||||
else: false
|
||||
|
||||
proc listSymbolNames*(symbols: openArray[PSym]): string =
|
||||
for sym in symbols:
|
||||
if result.len > 0:
|
||||
result.add ", "
|
||||
result.add sym.name.s
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue