mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Reduce errors when a namespace is not found
When the typelib for a namespace is not found, don't emit "namespace not imported" errors. Just emit the one error on the import statement.
This commit is contained in:
parent
402677f687
commit
bc605c5df8
6 changed files with 20 additions and 1 deletions
|
@ -224,6 +224,7 @@ class TestSamples(unittest.TestCase):
|
|||
self.assert_sample_error("menu_no_id")
|
||||
self.assert_sample_error("menu_toplevel_attribute")
|
||||
self.assert_sample_error("no_import_version")
|
||||
self.assert_sample_error("ns_not_found")
|
||||
self.assert_sample_error("ns_not_imported")
|
||||
self.assert_sample_error("not_a_class")
|
||||
self.assert_sample_error("object_dne")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue