File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -418,6 +418,7 @@ RUN(NAME expr_15 LABELS cpython llvm c)
418418RUN(NAME expr_16 LABELS cpython c)
419419RUN(NAME expr_17 LABELS cpython llvm c)
420420RUN(NAME expr_18 FAIL LABELS cpython llvm c)
421+ RUN(NAME expr_19 LABELS cpython llvm c)
421422
422423RUN(NAME expr_01u LABELS cpython llvm c NOFAST)
423424RUN(NAME expr_02u LABELS cpython llvm c NOFAST)
Original file line number Diff line number Diff line change 1+ from lpython import (f64 ,)
2+
3+ result : f64 = f64 (14 )
4+ divisor : f64 = f64 (4 )
5+ result /= divisor
6+
7+ assert abs (result - f64 (3.5 )) < 1e-12
Original file line number Diff line number Diff line change @@ -4512,6 +4512,10 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
45124512 }
45134513 }
45144514
4515+ void visit_AugAssign (const AST::AugAssign_t &/* x*/ ) {
4516+ // We skip this in the SymbolTable visitor, but visit it in the BodyVisitor
4517+ }
4518+
45154519 void visit_AnnAssign (const AST::AnnAssign_t &/* x*/ ) {
45164520 // We skip this in the SymbolTable visitor, but visit it in the BodyVisitor
45174521 }
You can’t perform that action at this time.
0 commit comments