mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
WIP
This commit is contained in:
parent
6fdb12fd5d
commit
bbfa90177a
3 changed files with 5 additions and 4 deletions
|
@ -55,7 +55,7 @@ class TypeName(AstNode):
|
|||
return self.root.gir.namespaces.get(self.tokens["namespace"] or "Gtk")
|
||||
|
||||
@cached_property
|
||||
def gir_type(self) -> T.Optional[gir.Class]:
|
||||
def gir_type(self) -> gir.GirClass:
|
||||
if self.tokens["ignore_gir"]:
|
||||
return gir.PartialClass(self.tokens["class_name"])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue