The following code causes Dafny to issue a spurious warning:
method Try (a:int)
{
forall
ensures a == a;
{
}
}
The warning is:
Warning: /!\ No terms found to trigger on.
This warning is spurious because an empty forall doesn't need any triggers. The "empty forall" construction is just meant to introduce unquantified facts.
method Try (a:int)
{
forall
ensures a == a;
{
}
}
The warning is:
Warning: /!\ No terms found to trigger on.
This warning is spurious because an empty forall doesn't need any triggers. The "empty forall" construction is just meant to introduce unquantified facts.