Skip to content

Commit

Permalink
Fix free-var closure default argument for 3.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrstr committed Oct 18, 2023
1 parent 44a847f commit 0ab4f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ASTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
break;
case Pyc::LOAD_CLOSURE_A:
/* Ignore this */
stack.push(new ASTNode());
break;
case Pyc::LOAD_CONST_A:
{
Expand Down

0 comments on commit 0ab4f8a

Please sign in to comment.