MikePopoloski/slang

Add unused import check

corco opened this issue · 1 comments

Given the following code

package pkg;

  localparam int A = 12;

endpackage : pkg

module mod;

  import pkg::A;

endmodule : mod

I would like to get a warning that "unused import pkg::A". It could be added with "-Wunused-import" and be included in "-Wunused".