We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4118c1 commit 726b514Copy full SHA for 726b514
test/regression_test.dart
@@ -805,12 +805,12 @@ void main() {
805
.callCC<String>((continuation, context) {
806
// Parse the original choice parser (zero or one).
807
final result = continuation(context);
808
- // If this is a success and the result is '0', build a new parser
809
- // and continue with that:
+ // If this is a success and the result is '0', create a new parser
+ // and follow up with it after the original choice parser.
810
if (result case Success(value: '0')) {
811
return '1'.toParser().parseOn(result);
812
}
813
- // Otherwise just return the result of the original choice parser.
+ // Otherwise return the result of the original choice parser.
814
return result;
815
})
816
.star()
0 commit comments