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 part of dart2js; | 5 part of dart2js; |
6 | 6 |
7 class TypeCheckerTask extends CompilerTask { | 7 class TypeCheckerTask extends CompilerTask { |
8 TypeCheckerTask(Compiler compiler) : super(compiler); | 8 TypeCheckerTask(Compiler compiler) : super(compiler); |
9 String get name => "Type checker"; | 9 String get name => "Type checker"; |
10 | 10 |
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1743 | 1743 |
1744 visitTypedef(Typedef node) { | 1744 visitTypedef(Typedef node) { |
1745 // Do not typecheck [Typedef] nodes. | 1745 // Do not typecheck [Typedef] nodes. |
1746 } | 1746 } |
1747 | 1747 |
1748 visitNode(Node node) { | 1748 visitNode(Node node) { |
1749 compiler.internalError(node, | 1749 compiler.internalError(node, |
1750 'Unexpected node ${node.getObjectDescription()} in the type checker.'); | 1750 'Unexpected node ${node.getObjectDescription()} in the type checker.'); |
1751 } | 1751 } |
1752 } | 1752 } |
OLD | NEW |