|
|
@ -581,7 +581,9 @@ def parse_expression(expression, caller_context): |
|
|
|
var = find_variable(super_name, caller_context, is_super=True) |
|
|
|
var = find_variable(super_name, caller_context, is_super=True) |
|
|
|
if var is None: |
|
|
|
if var is None: |
|
|
|
raise VariableNotFound('Variable not found: {}'.format(super_name)) |
|
|
|
raise VariableNotFound('Variable not found: {}'.format(super_name)) |
|
|
|
return SuperIdentifier(var) |
|
|
|
sup = SuperIdentifier(var) |
|
|
|
|
|
|
|
sup.set_offset(expression['src'], caller_context) |
|
|
|
|
|
|
|
return sup |
|
|
|
member_access = MemberAccess(member_name, member_type, member_expression) |
|
|
|
member_access = MemberAccess(member_name, member_type, member_expression) |
|
|
|
member_access.set_offset(expression['src'], caller_context.slither) |
|
|
|
member_access.set_offset(expression['src'], caller_context.slither) |
|
|
|
if str(member_access) in SOLIDITY_VARIABLES_COMPOSED: |
|
|
|
if str(member_access) in SOLIDITY_VARIABLES_COMPOSED: |
|
|
|