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
It looks like currently inside system verilog constraint, we don't support empty content inside if {} block
To Reproduce
classmy_try_classextendsuvm_object;
rand bit some_bit;
rand bit some_bit_2;
`uvm_object_utils(my_try_class)
constraintmy_con_c{if (some_bit) {// after commenting out below line will trigger error// some_bit_2 == 1;}}endclass:my_try_class```
Include any options used.
**Actual behavior:**
lexer/parse error at line of "if (some_bit) {"**Expected behavior**
Code should complain about lexer/parsererror
The text was updated successfully, but these errors were encountered:
Describe the bug
It looks like currently inside system verilog constraint, we don't support empty content inside if {} block
To Reproduce
The text was updated successfully, but these errors were encountered: