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:
James Westman 2023-03-21 11:31:02 -05:00
parent 402677f687
commit bc605c5df8
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
6 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
using NotARealNamespace 1;
NotARealNamespace.Widget widget {
property: true;
}

View file

@ -0,0 +1 @@
2,7,19,Namespace NotARealNamespace-1 could not be found