Commit 34956983 authored by Stefan Behnel's avatar Stefan Behnel

Explicitly return None from a method that is expected to return something otherwise.

parent f8d10420
......@@ -992,6 +992,7 @@ class Scope(object):
if entry.type.is_fused and self.fused_to_specific:
return entry.type.specialize(self.fused_to_specific)
return entry.type
return None
def lookup_operator(self, operator, operands):
if operands[0].type.is_cpp_class:
......
Markdown is supported
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