I have encountered an example property which works here:
property p_a;
@(posedge clk) $rose(a) -> $rose(b);
endproperty
There is no syntax error above.
Then I tried to modify to this
property p_a;
@(posedge clk) $rose(a) -> ##2 $rose(b);
endproperty
Which gives me syntax error, only to realize its not actually '|->'
property p_a;
@(posedge clk) $rose(a) |-> ##2 $rose(b);
endproperty
This works, so what is the symbol ->
actually here in property? I know usually its for triggering an event.