verible
verible copied to clipboard
typedef array of interfaces not supported
Describe the bug
Valid syntax is rejected
To Reproduce
Run
verible-verilog-syntax test.sv
test.sv
as follows
interface t_interface;
endinterface
package test;
typedef virtual t_interface t_vif_array [];
endpackage
Version used
% verible-verilog-syntax --version
v0.0-3389-ga1cd07b1
Commit 2023-07-26
Built 2023-07-26T21:32:29Z
Actual behavior:
Code rejected
test.sv:5:43: syntax error at token "["
Expected behavior
Accepted syntax.