Https://verificationacademy.com/cookbook/stimulus/signal_wait example missing code

In this example, at

https://verificationacademy.com/cookbook/stimulus/signal_wait

forever begin
m_cfg.wait_for_error; // Blocks until an error occurs
no_error = 0;
m_cfg.wait_for_no_error; // Blocks until the error is removed
// ### Code is missing here, no_error should be set here
end

The missing code is

no_error = 1;

I am assuming that coverage can be collected again once the error is cleared.
If it cannot be collected after the first error, there is no reason to loop back
after the first error

Thanks for the bug report, we will investigate and update the example!

In reply to gordon:

Hi Gordon,

I still see the no_error not set in the forever loop (as reported in the first post of this thread) after the error is cleared. Is this still an issue in the code?

Regards,
Madhu