mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-30 11:42:08 +00:00
parent
cb32b581ee
commit
48d1bfa59f
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
|
|||
{
|
||||
// if class is a closure code, ignore this tuple
|
||||
PycRef<ASTNode> tos = stack.top();
|
||||
if (tos->type() == ASTNode::NODE_LOADBUILDCLASS) {
|
||||
if (tos && tos->type() == ASTNode::NODE_LOADBUILDCLASS) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue