mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix template types
This commit is contained in:
parent
64879491a1
commit
88f5b4f1c7
14 changed files with 120 additions and 21 deletions
|
@ -72,7 +72,7 @@ class Signal(AstNode):
|
|||
|
||||
@property
|
||||
def gir_signal(self):
|
||||
if self.gir_class is not None and not isinstance(self.gir_class, UncheckedType):
|
||||
if self.gir_class is not None and not isinstance(self.gir_class, ExternType):
|
||||
return self.gir_class.signals.get(self.tokens["name"])
|
||||
|
||||
@property
|
||||
|
@ -90,7 +90,7 @@ class Signal(AstNode):
|
|||
|
||||
@validate("name")
|
||||
def signal_exists(self):
|
||||
if self.gir_class is None or isinstance(self.gir_class, UncheckedType):
|
||||
if self.gir_class is None or self.gir_class.incomplete:
|
||||
# Objects that we have no gir data on should not be validated
|
||||
# This happens for classes defined by the app itself
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue