mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
WIP
This commit is contained in:
parent
6fdb12fd5d
commit
bbfa90177a
3 changed files with 5 additions and 4 deletions
|
@ -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}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue