OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 library closureToClassMapper; | 5 library closureToClassMapper; |
6 | 6 |
7 import "elements/elements.dart"; | 7 import "elements/elements.dart"; |
8 import "dart2jslib.dart"; | 8 import "dart2jslib.dart"; |
9 import "dart_types.dart"; | 9 import "dart_types.dart"; |
10 import "js_backend/js_backend.dart" show JavaScriptBackend; | 10 import "js_backend/js_backend.dart" show JavaScriptBackend; |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 | 1022 |
1023 String get name => typeVariable.name; | 1023 String get name => typeVariable.name; |
1024 | 1024 |
1025 int get hashCode => typeVariable.hashCode; | 1025 int get hashCode => typeVariable.hashCode; |
1026 | 1026 |
1027 bool operator ==(other) { | 1027 bool operator ==(other) { |
1028 if (other is! TypeVariableLocal) return false; | 1028 if (other is! TypeVariableLocal) return false; |
1029 return typeVariable == other.typeVariable; | 1029 return typeVariable == other.typeVariable; |
1030 } | 1030 } |
1031 } | 1031 } |
OLD | NEW |