mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix 'template' keyword in list item factories
This commit is contained in:
parent
5a782c653b
commit
46e467bbfb
7 changed files with 30 additions and 13 deletions
|
@ -96,11 +96,6 @@ class Signal(AstNode):
|
|||
# This happens for classes defined by the app itself
|
||||
return
|
||||
|
||||
if isinstance(self.parent.parent, Template):
|
||||
# If the signal is part of a template, it might be defined by
|
||||
# the application and thus not in gir
|
||||
return
|
||||
|
||||
if self.gir_signal is None:
|
||||
raise CompileError(
|
||||
f"Class {self.gir_class.full_name} does not contain a signal called {self.tokens['name']}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue