2025-09-27 03:23:40 +02:00
|
|
|
%Error: t/t_class_new_bad.v:27:19: class 'new()' cannot be static (IEEE 1800-2023 18.3)
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2025-09-27 03:23:40 +02:00
|
|
|
27 | static function new();
|
|
|
|
|
| ^~~
|
2025-04-05 23:10:28 +02:00
|
|
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
2025-09-27 03:23:40 +02:00
|
|
|
%Error: t/t_class_new_bad.v:32:20: class 'new()' cannot be virual (IEEE 1800-2023 18.3)
|
|
|
|
|
: ... note: In instance 't'
|
|
|
|
|
32 | virtual function new();
|
|
|
|
|
| ^~~
|
|
|
|
|
%Error: t/t_class_new_bad.v:39:19: class 'new()' cannot be virual (IEEE 1800-2023 18.3)
|
|
|
|
|
: ... note: In instance 't'
|
|
|
|
|
39 | function ClsNew3::new();
|
|
|
|
|
| ^~~
|
|
|
|
|
%Error: t/t_class_new_bad.v:47:16: Too many arguments in function call to FUNC 'new'
|
|
|
|
|
: ... note: In instance 't'
|
|
|
|
|
47 | c1 = new(3);
|
|
|
|
|
| ^
|
|
|
|
|
%Error: t/t_class_new_bad.v:48:16: Too many arguments in function call to FUNC 'new'
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2025-09-27 03:23:40 +02:00
|
|
|
48 | c2 = new(3);
|
2020-04-13 00:57:12 +02:00
|
|
|
| ^
|
2025-09-27 03:23:40 +02:00
|
|
|
%Error: t/t_class_new_bad.v:49:12: Missing argument on non-defaulted argument 'i' in function call to FUNC 'new'
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2025-09-27 03:23:40 +02:00
|
|
|
49 | c3 = new();
|
2020-04-13 00:57:12 +02:00
|
|
|
| ^~~
|
2025-09-27 03:23:40 +02:00
|
|
|
%Error: t/t_class_new_bad.v:50:12: dynamic new() not expected in this context (data type must be dynamic array)
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2025-09-27 03:23:40 +02:00
|
|
|
50 | c1 = new[2];
|
2022-11-05 16:40:34 +01:00
|
|
|
| ^~~
|
2025-09-27 03:23:40 +02:00
|
|
|
%Error: Internal Error: t/t_class_new_bad.v:50:12: ../V3Width.cpp:#: Node has no type
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2025-09-27 03:23:40 +02:00
|
|
|
50 | c1 = new[2];
|
2023-03-24 18:18:20 +01:00
|
|
|
| ^~~
|
2025-04-05 23:10:28 +02:00
|
|
|
... This fatal error may be caused by the earlier error(s); resolve those first.
|