Skip to content

Commit 313125e

Browse files
advikkabraczgdp1807
authored andcommitted
Remove commented code
1 parent 020cf8e commit 313125e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6626,18 +6626,6 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
66266626

66276627
bool result = right_str.find(left_str) != std::string::npos;
66286628

6629-
//switch (asr_op) {
6630-
//case (ASR::membershipopType::In) : {
6631-
//break;
6632-
//}
6633-
//case (ASR::membershipopType::NotIn) : {
6634-
//result = !result;
6635-
//break;
6636-
//}
6637-
//default : {
6638-
//throw SemanticError("ICE: Unknown membership operator", x.base.base.loc);
6639-
//}
6640-
//}
66416629
value = ASR::down_cast<ASR::expr_t>(ASR::make_LogicalConstant_t(
66426630
al, x.base.base.loc, result, type));
66436631
}

0 commit comments

Comments
 (0)