Skip to content

Ensure genString always generates at least one character #83

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

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

garyb
Copy link
Member

@garyb garyb commented Jun 6, 2017

I'm not exactly sure where to fix this, but here seems reasonable.

QC and SC behave differently when given chooseInt 1 0 in that SC will always return 1 but QC will return either, so maybe this could be fixed in QC instead. I don't know what Jack does, so just making the change here at least ensures all will behave consistently.

@paf31
Copy link
Contributor

paf31 commented Jun 6, 2017

👍 LGTM!

@garyb garyb merged commit dc78175 into master Jun 6, 2017
@garyb garyb deleted the string-gen-size branch June 6, 2017 15:48
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.

2 participants