mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Bug fix, new test
This commit is contained in:
parent
80b5698533
commit
7a65956195
4 changed files with 16 additions and 1 deletions
|
@ -43,7 +43,8 @@ class UI(AstNode):
|
|||
|
||||
for i in self.children[Import]:
|
||||
try:
|
||||
gir_ctx.add_namespace(i.gir_namespace)
|
||||
if i.gir_namespace is not None:
|
||||
gir_ctx.add_namespace(i.gir_namespace)
|
||||
except CompileError as e:
|
||||
self._gir_errors.append(e)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue