2024-06-01 01:51:12 +00:00
|
|
|
%Error: t/t_cast_class_incompat_bad.v:26:16: Dynamic, not static cast, required to cast 'class{}BaseExtended' from 'class{}Base'
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2020-12-06 03:58:36 +00:00
|
|
|
: ... Suggest dynamic $cast
|
|
|
|
26 | cls_ab = BaseExtended'(cls_a);
|
|
|
|
| ^~~~~~~~~~~~
|
2024-06-01 01:51:12 +00:00
|
|
|
%Error: t/t_cast_class_incompat_bad.v:27:15: Incompatible types to static cast to 'class{}Other' from 'class{}BaseExtended'
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2020-12-06 03:58:36 +00:00
|
|
|
27 | other = Other'(cls_ab);
|
|
|
|
| ^~~~~
|
|
|
|
%Error: Exiting due to
|