This commit is contained in:
James Westman 2022-07-23 20:35:28 -05:00
parent 6fdb12fd5d
commit bbfa90177a
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
3 changed files with 5 additions and 4 deletions

View file

@ -320,8 +320,6 @@ class Interface(GirNode, GirType):
def lookup_property(self, property: str):
if prop := self.properties.get(property):
return prop
elif self.is_partial:
return None
else:
raise CompileError(
f"Interface {self.full_name} does not have a property called {property}",