removed debug code
This commit is contained in:
parent
0baa1d9955
commit
7d7de36a91
1 changed files with 0 additions and 2 deletions
|
|
@ -665,8 +665,6 @@ proc typeSectionLeftSidePass(c: PContext, n: PNode) =
|
|||
var s: PSym
|
||||
if name.kind == nkDotExpr:
|
||||
s = qualifiedLookUp(c, name)
|
||||
debug s
|
||||
debug s.typ.skipTypes(abstractPtrs)
|
||||
if s.kind != skType or s.typ.skipTypes(abstractPtrs).kind != tyObject or tfPartial notin s.typ.skipTypes(abstractPtrs).flags:
|
||||
localError(name.info, "only .partial objects can be extended")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue