Declaring a constant with simultaneous initialization may result in an error depending on the lifetime and context #4992
Labels
status: ready
Issue is ready for someone to fix; then goes to 'status: assigned'
Hello!
Declaring a constant with simultaneous initialization may result in an error depending on the lifetime and context (for example, the location of the variable within a procedural block or function).
The expected behavior is that there will be no errors in all cases.
Example:
Output:
Command:
Verilator version (git master):
Verilator 5.023 devel rev v5.020-192-g292cc5476
OS (verilator devcontainer): Ubuntu 22.04.3 LTS
The text was updated successfully, but these errors were encountered: