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
|
@ -108,11 +108,7 @@ class PropertyBinding(AstNode):
|
|||
|
||||
gir_class = self.source_obj.gir_class
|
||||
|
||||
if (
|
||||
isinstance(self.source_obj, Template)
|
||||
or gir_class is None
|
||||
or isinstance(gir_class, UncheckedType)
|
||||
):
|
||||
if gir_class is None or 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