Skip to content
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

fix for broken repeat statement #451

Merged
merged 2 commits into from
Apr 21, 2019
Merged

Conversation

schellenberg
Copy link
Contributor

The only problem appears to be an accidental comment on the variable declaring the number of iterations.

Dan Schellenberg added 2 commits April 18, 2019 12:57
The only problem appears to be an accidental comment on the variable declaring the number of iterations.
@schellenberg
Copy link
Contributor Author

In addition to the repeat statement fix, I wrote a quick way to switch to the correct world when loading a save file. Right now, it is fragile, in that it will only load the world correctly if the file name is exactly the same as expected. Might be good to improve this, so that if a student saves multiple versions of a file, Reeborg can intelligently guess what Step 1(1).py means...

@aroberge
Copy link
Owner

aroberge commented Apr 18, 2019 via email

@aroberge
Copy link
Owner

Sorry, it took longer for me to look at this - the flu took a lot more out of me than I expected.

I fixed the repeat n problem by reverting to the old way; like you had done and submitted in your pull request. Along the way I fixed all the integration tests that had been broken when I attempted to clean them up after I got a new computer and cloned the repo. This is likely why I never caught the silly mistake about the broken repeat n.

Regarding the other fix that you propose: I am going to look at this in a completely separate commit. I think that there is a way to do this which would work, regardless of the name of the file. I will create a separate issue to track this.

@aroberge aroberge closed this Apr 21, 2019
@aroberge aroberge reopened this Apr 21, 2019
@aroberge aroberge merged commit 748393a into aroberge:master Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants