| Index: runtime/lib/core_patch.dart
|
| diff --git a/runtime/lib/core_patch.dart b/runtime/lib/core_patch.dart
|
| index deed7c9cc48af3929a0c805184500298e7149229..6000ffc06d7fe41ba6132794fbf02a0926583df6 100644
|
| --- a/runtime/lib/core_patch.dart
|
| +++ b/runtime/lib/core_patch.dart
|
| @@ -36,14 +36,13 @@ class _SyncIterable extends IterableBase {
|
| }
|
|
|
| class _SyncIterator implements Iterator {
|
| - bool isYieldEach; // Set by generated code for the yield* statement.
|
| + bool isYieldEach; // Set by generated code for the yield* statement.
|
| Iterator yieldEachIterator;
|
| - var _current; // Set by generated code for the yield and yield* statement.
|
| + var _current; // Set by generated code for the yield and yield* statement.
|
| _SyncGeneratorCallback _moveNextFn;
|
|
|
| - get current => yieldEachIterator != null
|
| - ? yieldEachIterator.current
|
| - : _current;
|
| + get current =>
|
| + yieldEachIterator != null ? yieldEachIterator.current : _current;
|
|
|
| _SyncIterator(this._moveNextFn);
|
|
|
| @@ -51,7 +50,7 @@ class _SyncIterator implements Iterator {
|
| if (_moveNextFn == null) {
|
| return false;
|
| }
|
| - while(true) {
|
| + while (true) {
|
| if (yieldEachIterator != null) {
|
| if (yieldEachIterator.moveNext()) {
|
| return true;
|
| @@ -77,6 +76,8 @@ class _SyncIterator implements Iterator {
|
| }
|
| }
|
|
|
| -@patch class StackTrace {
|
| - @patch static StackTrace get current native "StackTrace_current";
|
| +@patch
|
| +class StackTrace {
|
| + @patch
|
| + static StackTrace get current native "StackTrace_current";
|
| }
|
|
|