Closed bjkeller closed 7 years ago
This seems nonsensical to me. I could see it leading to an infinite loop in Randoop or other tools.
It would only be a problem if the guard were being injected into the method, which we are not doing in Randoop.
Thank you for the report.
Toradocu should not generate specifications for a method that mention the method itself (see commit f0ce683171456fcbd0f30a36793bb20c49854b3a). I'm going to investigate why this is happening.
The following Randoop specification is being generated by Toradocu
This is the condition "if target.isFull() then target.isFull()". I don't expect this to cause problems for Randoop, but it certainly isn't very interesting.