Skip to content

Fix issue 17668 - assert failure regex(q"<[^]>")#5657

Merged
dlang-bot merged 1 commit intodlang:stablefrom
DmitryOlshansky:issue-17668
Aug 7, 2017
Merged

Fix issue 17668 - assert failure regex(q"<[^]>")#5657
dlang-bot merged 1 commit intodlang:stablefrom
DmitryOlshansky:issue-17668

Conversation

@DmitryOlshansky
Copy link
Member

Another mistake in charset parser code.
It's rather baroque I wish we could use some parser combinators for it, should easily fit operator grammar.

@dlang-bot
Copy link
Contributor

dlang-bot commented Jul 25, 2017

Thanks for your pull request, @DmitryOlshansky!

Bugzilla references

Auto-close Bugzilla Description
17668 regex(q"<[^]>")

@DmitryOlshansky DmitryOlshansky changed the base branch from master to stable July 25, 2017 13:50
thrown = true;
}
assert(thrown);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assert(collectExceptionMsg(regex(q"<[^]>").canFind("no operand for '^'"));

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, for some reason it seemed to not work the first time I tried i.e. exception escaped.

@DmitryOlshansky DmitryOlshansky force-pushed the issue-17668 branch 3 times, most recently from 57a015f to aeba147 Compare July 26, 2017 11:38
@atilaneves
Copy link
Contributor

LGTM

@DmitryOlshansky DmitryOlshansky removed the request for review from burner August 7, 2017 10:34
@DmitryOlshansky
Copy link
Member Author

Damn it's trivially easy to rebase on the wrong branch...

@dlang-bot dlang-bot merged commit bcb17a6 into dlang:stable Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants