HF RL Explorer

Repair a verified behavior in mikepopoloski/slang.

Repair a verified behavior in mikepopoloski/slang.: a task in OriGent-SFT-Data (Harbor dataset). The SystemVerilog parser accepts the third expression of a loop generate construct as an arbitrary expression. For example, it silently parses a module containing for (genvar i = 0; i < 4; i + 1) even…

The task

The SystemVerilog parser accepts the third expression of a loop generate construct as an arbitrary expression. For example, it silently parses a module containing `for (genvar i = 0; i < 4; i + 1)` even though `i + 1` does not modify the loop's genvar and is not a legal genvar iteration clause.

Part of henryen/OriGent-SFT-Data.