Commit 601789c1 authored by dbarbera's avatar dbarbera
Browse files

Remove unused code from fix_expression_types

parent 0120930d
......@@ -868,9 +868,6 @@ def find_type(path, context):
def fix_expression_types(expr, context):
''' Check/ensure type consistency in binary expressions '''
if isinstance(expr, ogAST.Primary):
# If a side of the expression is of Enumerated or Choice type, check if
# the other side is a literal of that sort, and change type accordingly
for side in permutations(('left', 'right')):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment