You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.0-3648-g5ef1624a
Commit 2024-05-04
Built 2024-05-05T00:06:13Z
Test case
// Input to the formatter, preferably a reduced test case.classfooClass#(parameter fooWidth);
typedef structpacked{ logic [fooWidth-1:0] fooLogic;
}t;
endclasstypedef structpacked{
fooClass#(.fooWidth(8))::t foo;
}foo_t;
Include any options or configuration used.
Actual output
Error from verible-verilog-format
test.sv:8:15: syntax error at token "."
test.sv:9:1: syntax error at token "}"
Include any possible diagnostic messages from the formatter.
Expected or suggested output
I was able to compile the test case via modelsim so I believe it should be syntactically valid. Just to note, one way to workaround this is to typedef the class instantiation
Version
Test case
Include any options or configuration used.
Actual output
Error from verible-verilog-format
Include any possible diagnostic messages from the formatter.
Expected or suggested output
I was able to compile the test case via modelsim so I believe it should be syntactically valid. Just to note, one way to workaround this is to typedef the class instantiation
Citations to published style guides would help.
The text was updated successfully, but these errors were encountered: