Closed svenka3 closed 3 years ago
Simplified test case:
module m;
function void funct1();
endfunction
function void func2();
funct1();
endfunction
endmodule
The bug is only triggered if the name of the first function contains more characters than the name of the second function.
Fixed in both the master and v11 branches.
I just looked at the test in the testsuite and is it intended that both paths display "PASSED"? I assume the second one should be FAILED.
Yes, an oversight on my part, mainly because the bug was a compiler assertion, so never got as far as running the test. Fixed now.
Hi, I am getting below error if I declare a void function (that gets called under another function).
Run as:
Test below, look for BUG, when you define you get this error, else not.