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

Handle crashes in generation functions #14

Open
Fleex255 opened this issue May 3, 2020 · 1 comment
Open

Handle crashes in generation functions #14

Fleex255 opened this issue May 3, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Fleex255
Copy link
Contributor

Fleex255 commented May 3, 2020

Currently Answerable explodes if a @Generator function crashes. This is important to handle because student constructors called by receiver generators could have crash bugs or even desirably throw exceptions in some circumstances.

testGenerationFailed added in 87db240.

@JKTKops
Copy link
Collaborator

JKTKops commented May 21, 2020

This should be attacked once we've settled on a structure for the testing loop. At this point we seem to be leaning towards an iterator-based approach, so questions of how an iterator reacts to a generation failure need to be answered.

@JKTKops JKTKops added the bug Something isn't working label Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants