exercism / java-analyzer

GNU Affero General Public License v3.0
7 stars 14 forks source link

annalyns-infiltration feedback #168

Closed Kyle-ND closed 2 months ago

Kyle-ND commented 2 months ago

it suggests that you should return the expression when check for fast attack but the logic is reversed e.g when the knight is awake you must return false and not true

sanderploegsma commented 2 months ago

Thanks for your feedback! I'm assuming you're talking about this analyzer comment, correct?

The code in the comment is not supposed to give the solution for the exercise, only to serve as an example of how to directly return a boolean condition. If you have any suggestions on making that more clear in the comment's text, feel free to leave a suggestion here!