disable internalError so that nimbuild compiles again
This commit is contained in:
parent
9d4c4592fa
commit
f16881ad16
3 changed files with 7 additions and 2 deletions
|
|
@ -116,7 +116,10 @@ proc generateDestructor(c: PContext, t: PType): PNode =
|
|||
let stmt = destroyField(c, t.n.sons[s].sym, destructedObj)
|
||||
if stmt != nil: addLine(stmt)
|
||||
else:
|
||||
internalAssert false
|
||||
# XXX just skip it for now so that the compiler doesn't crash, but
|
||||
# please zahary fix it! arbitrary nesting of nkRecList/nkRecCase is
|
||||
# possible. Any thread example seems to trigger this.
|
||||
discard
|
||||
# base classes' destructors will be automatically called by
|
||||
# semProcAux for both auto-generated and user-defined destructors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue