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
Hi @sdeleuze thanks for the report; we can add support for this case. As a workaround, if you have a fail method that takes both a boolean and a String, that should already be supported. See this new test:
Fixes#943
We extend `ContractHandler` to insert an unconditional `throw` into the
CFG when encountering a method that fails unconditionally according to
its `@Contract` annotation.
Code with
if (obj == null)
and a failing function seems not taken in account properly.With
Generates this irrelevant error:
The text was updated successfully, but these errors were encountered: