Fix import error format

This commit is contained in:
Wilson Snyder
2025-09-09 18:32:04 -04:00
parent 1fd9f3ce92
commit f57d1255e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1686,7 +1686,7 @@ class LinkDotFindVisitor final : public VNVisitor {
if (nodep->packagep() != v3Global.rootp()->stdPackagep()) {
if (m_curSymp == m_statep->dunitEntp()) {
nodep->v3warn(IMPORTSTAR,
"Import::* in $unit scope may pollute global namespace");
"'import::*' in $unit scope may pollute global namespace");
}
}
} else {
+1 -1
View File
@@ -1,4 +1,4 @@
%Warning-IMPORTSTAR: t/t_lint_importstar_bad.v:11:8: Import::* in $unit scope may pollute global namespace
%Warning-IMPORTSTAR: t/t_lint_importstar_bad.v:11:8: 'import::*' in $unit scope may pollute global namespace
11 | import defs::*;
| ^~~~
... For warning description see https://verilator.org/warn/IMPORTSTAR?v=latest