Skip to content

Commit 46ab58c

Browse files
Update expression.py
1 parent 443c0a0 commit 46ab58c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/irbuild/expression.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ def try_gen_slice_op(builder: IRBuilder, base: Value, index: SliceExpr) -> Value
653653
return None
654654

655655

656+
@folding_candidate
656657
def transform_conditional_expr(builder: IRBuilder, expr: ConditionalExpr) -> Value:
657658
if_body, else_body, next_block = BasicBlock(), BasicBlock(), BasicBlock()
658659

0 commit comments

Comments
 (0)