| Index: lib/src/chunk_builder.dart
|
| diff --git a/lib/src/chunk_builder.dart b/lib/src/chunk_builder.dart
|
| index 54695cfaccb1cdcc76cf67391d608a1c0414795e..0f265ec7d0522aa4b3c77cbd81a77433b243df5d 100644
|
| --- a/lib/src/chunk_builder.dart
|
| +++ b/lib/src/chunk_builder.dart
|
| @@ -384,7 +384,11 @@ class ChunkBuilder {
|
|
|
| /// Ends the innermost rule.
|
| void endRule() {
|
| - _rules.removeLast();
|
| + if (_lazyRules.isNotEmpty) {
|
| + _lazyRules.removeLast();
|
| + } else {
|
| + _rules.removeLast();
|
| + }
|
| }
|
|
|
| /// Pre-emptively forces all of the current rules to become hard splits.
|
|
|