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 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 | 1777 |
1778 visitTypedef(Typedef node) { | 1778 visitTypedef(Typedef node) { |
1779 // Do not typecheck [Typedef] nodes. | 1779 // Do not typecheck [Typedef] nodes. |
1780 } | 1780 } |
1781 | 1781 |
1782 visitNode(Node node) { | 1782 visitNode(Node node) { |
1783 compiler.internalError(node, | 1783 compiler.internalError(node, |
1784 'Unexpected node ${node.getObjectDescription()} in the type checker.'); | 1784 'Unexpected node ${node.getObjectDescription()} in the type checker.'); |
1785 } | 1785 } |
1786 } | 1786 } |
OLD | NEW |