mirror of
https://github.com/verilator/verilator.git
synced 2025-07-31 07:56:10 +00:00
Fix unquoted name in dtype errors.
This commit is contained in:
parent
833780fac1
commit
d8071819fc
@ -1073,7 +1073,7 @@ public:
|
||||
void dumpSmall(std::ostream& str) const override;
|
||||
string name() const override { return m_name; }
|
||||
string prettyDTypeName() const override {
|
||||
return subDTypep() ? subDTypep()->name() : prettyName();
|
||||
return subDTypep() ? prettyName(subDTypep()->name()) : prettyName();
|
||||
}
|
||||
AstBasicDType* basicp() const override VL_MT_SAFE {
|
||||
return subDTypep() ? subDTypep()->basicp() : nullptr;
|
||||
|
@ -11,7 +11,7 @@
|
||||
: ... In instance t
|
||||
14 | rand int unpackarr[5];
|
||||
| ^~~~~~~~~
|
||||
%Error-UNSUPPORTED: t/t_randomize_method_types_unsup.v:15:15: Unsupported: random member variables with type '__024unit::Union'
|
||||
%Error-UNSUPPORTED: t/t_randomize_method_types_unsup.v:15:15: Unsupported: random member variables with type '$unit::Union'
|
||||
: ... In instance t
|
||||
15 | rand Union uni;
|
||||
| ^~~
|
||||
|
Loading…
Reference in New Issue
Block a user