Fix import error format
This commit is contained in:
parent
1fd9f3ce92
commit
f57d1255e9
|
|
@ -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,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue