Added a check for unused imports

This commit is contained in:
2024-07-31 11:55:21 +02:00
parent 2293603923
commit 87ae78c86a
14 changed files with 138 additions and 31 deletions

View File

@ -40,6 +40,8 @@ var errs = []struct {
{"UnknownIdentifier.q", &errors.UnknownIdentifier{Name: "x"}},
{"UnknownIdentifier2.q", &errors.UnknownIdentifier{Name: "x"}},
{"UnknownIdentifier3.q", &errors.UnknownIdentifier{Name: "x"}},
{"UnknownPackage.q", &errors.UnknownPackage{Name: "sys"}},
{"UnusedImport.q", &errors.UnusedImport{Package: "sys"}},
{"UnusedVariable.q", &errors.UnusedVariable{Name: "x"}},
}