| Index: frog/leg/frog_leg.dart
|
| ===================================================================
|
| --- frog/leg/frog_leg.dart (revision 3986)
|
| +++ frog/leg/frog_leg.dart (working copy)
|
| @@ -107,8 +107,8 @@
|
| print(script.file.getLocationMessage("cancel leg: $reason",
|
| begin, end, true));
|
| } else if (element !== null) {
|
| - currentElement = element;
|
| - cancel(reason: reason, token: element.position());
|
| + withCurrentElement(element,
|
| + () => cancel(reason: reason, token: element.position()));
|
| }
|
| if (throwOnError) {
|
| throw new AbortLeg(reason);
|
|
|