-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
patch 48 appears to be wrong #48
Comments
@happysalada I use those patches to test after every change I make, so I know they still work. That should, in fact, be the correct answer to 048. But maybe I'm not understanding what you're saying. The while loop in the exercise looks like this:
And when I make the fix (as shown in the patch), the We don't need What error are you getting? Thanks! |
Oh, got it, I had added
I thought that line was an order and you were supposed to do something about it. |
@happysalada Oh, I see! You're right, some of the comments are hard to distinguish from exercise instructions. I've updated 048 and 049 to change things like "Get the next..." to "This gets the next...". Thank you for pointing this out! |
…atch-1 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/48
patch 48 shows
trying to run this with
zig build
will give an errormodifying the while on line 52 seems to be the correct answer.
So that the while look is
I'm only mentioning this because path 49 appears to be wrong too. You need to modify the while loops and add another statement to make it work.
I'm writing an issue since perhaps, I'm wrong of course.
The text was updated successfully, but these errors were encountered: