| 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 dart2js.typechecker; | 5 library dart2js.typechecker; |
| 6 | 6 |
| 7 import 'common/names.dart' show Identifiers; | 7 import 'common/names.dart' show Identifiers; |
| 8 import 'common/resolution.dart' show Resolution; | 8 import 'common/resolution.dart' show Resolution; |
| 9 import 'common/tasks.dart' show CompilerTask; | 9 import 'common/tasks.dart' show CompilerTask; |
| 10 import 'common.dart'; | 10 import 'common.dart'; |
| 11 import 'compiler.dart' show Compiler; | 11 import 'compiler.dart' show Compiler; |
| 12 import 'constants/expressions.dart'; | 12 import 'constants/expressions.dart'; |
| 13 import 'constants/values.dart'; | 13 import 'constants/values.dart'; |
| 14 import 'core_types.dart'; | 14 import 'core_types.dart'; |
| 15 import 'dart_types.dart'; | 15 import 'elements/resolution_types.dart'; |
| 16 import 'elements/elements.dart' | 16 import 'elements/elements.dart' |
| 17 show | 17 show |
| 18 AbstractFieldElement, | 18 AbstractFieldElement, |
| 19 AstElement, | 19 AstElement, |
| 20 AsyncMarker, | 20 AsyncMarker, |
| 21 ClassElement, | 21 ClassElement, |
| 22 ConstructorElement, | 22 ConstructorElement, |
| 23 Element, | 23 Element, |
| 24 Elements, | 24 Elements, |
| 25 EnumClassElement, | 25 EnumClassElement, |
| (...skipping 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2026 | 2026 |
| 2027 visitTypedef(Typedef node) { | 2027 visitTypedef(Typedef node) { |
| 2028 // Do not typecheck [Typedef] nodes. | 2028 // Do not typecheck [Typedef] nodes. |
| 2029 } | 2029 } |
| 2030 | 2030 |
| 2031 visitNode(Node node) { | 2031 visitNode(Node node) { |
| 2032 reporter.internalError(node, | 2032 reporter.internalError(node, |
| 2033 'Unexpected node ${node.getObjectDescription()} in the type checker.'); | 2033 'Unexpected node ${node.getObjectDescription()} in the type checker.'); |
| 2034 } | 2034 } |
| 2035 } | 2035 } |
| OLD | NEW |