| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import "dart:async"; | |
| 6 import "dart:collection" show LinkedList, LinkedListEntry; | |
| 7 import 'dart:convert' show ASCII, JSON; | |
| 8 import "dart:isolate"; | |
| 9 import "dart:math"; | 5 import "dart:math"; |
| 10 import "dart:typed_data"; | 6 import "dart:typed_data"; |
| 11 import 'dart:_internal' as internal; | |
| 12 | 7 |
| 13 // Equivalent of calling FATAL from C++ code. | 8 // Equivalent of calling FATAL from C++ code. |
| 14 _fatal(msg) native "DartCore_fatal"; | 9 _fatal(msg) native "DartCore_fatal"; |
| 15 | 10 |
| 16 // The members of this class are cloned and added to each class that | 11 // The members of this class are cloned and added to each class that |
| 17 // represents an enum type. | 12 // represents an enum type. |
| 18 class _EnumHelper { | 13 class _EnumHelper { |
| 19 String _name; | 14 String _name; |
| 20 String toString() => _name; | 15 String toString() => _name; |
| 21 int get hashCode => _name.hashCode; | 16 int get hashCode => _name.hashCode; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 continue; | 71 continue; |
| 77 } | 72 } |
| 78 return true; | 73 return true; |
| 79 } | 74 } |
| 80 } | 75 } |
| 81 } | 76 } |
| 82 | 77 |
| 83 @patch class StackTrace { | 78 @patch class StackTrace { |
| 84 @patch static StackTrace get current native "StackTrace_current"; | 79 @patch static StackTrace get current native "StackTrace_current"; |
| 85 } | 80 } |
| OLD | NEW |