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

make parse with radix work on ranges (bugzilla 7302) #396

Merged
merged 5 commits into from
Jan 19, 2012

Conversation

ghost
Copy link

@ghost ghost commented Jan 17, 2012

No description provided.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 17, 2012

This change is almost same as a part of #298, it is my pull request. I can argue that this is the right way.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 19, 2012

Now pull tester fails with following errors:
http://d.puremagic.com/test-results/pull.ghtml?runid=31329

std/format.d(1406): Warning: statement is not reachable
std/format.d(1409): Warning: statement is not reachable

Nils Boßung added 3 commits January 19, 2012 09:00
Including the full input is not feasible with non-forward ranges.
And with infinite ranges it leads to an infinite loop.
@ghost
Copy link
Author

ghost commented Jan 19, 2012

Those warnings save the day. I had missed that infinite ranges lead to an infinite loop on error message generation (as has whoever changed parse() without radix to accept ranges).

9rnsr added a commit that referenced this pull request Jan 19, 2012
make parse with radix work on ranges (bugzilla 7302)
@9rnsr 9rnsr merged commit 5a21673 into dlang:master Jan 19, 2012
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.

1 participant