mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add warning for unused imports
This commit is contained in:
parent
729939ad93
commit
6a078ee075
13 changed files with 53 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
using Gtk 4.0;
|
||||
using Gio 2.0;
|
||||
|
||||
Dialog {
|
||||
use-header-bar: 1;
|
||||
|
|
|
@ -1 +1 @@
|
|||
4,1,6,Gtk.Dialog is deprecated
|
||||
3,1,6,Gtk.Dialog is deprecated
|
5
tests/sample_errors/warn_unused_import.blp
Normal file
5
tests/sample_errors/warn_unused_import.blp
Normal file
|
@ -0,0 +1,5 @@
|
|||
using Gtk 4.0;
|
||||
using GLib 2.0;
|
||||
using Gio 2.0;
|
||||
|
||||
Gio.Cancellable {}
|
1
tests/sample_errors/warn_unused_import.err
Normal file
1
tests/sample_errors/warn_unused_import.err
Normal file
|
@ -0,0 +1 @@
|
|||
2,1,15,Unused import: GLib
|
Loading…
Add table
Add a link
Reference in a new issue