Skip to content

Commit a8f50ce

Browse files
Update expression.py
1 parent 2d177e9 commit a8f50ce

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
@@ -518,6 +518,7 @@ def translate_super_method_call(builder: IRBuilder, expr: CallExpr, callee: Supe
518518
return builder.builder.call(decl, arg_values, arg_kinds, arg_names, expr.line)
519519

520520

521+
@folding_candidate
521522
def translate_cast_expr(builder: IRBuilder, expr: CastExpr) -> Value:
522523
src = builder.accept(expr.expr)
523524
target_type = builder.type_to_rtype(expr.type)

0 commit comments

Comments
 (0)