Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: frog/leg/typechecker.dart

Issue 9351020: Implement try/catch without finally, and without type checks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « frog/leg/ssa/tracer.dart ('k') | frog/leg/warnings.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 class TypeCheckerTask extends CompilerTask { 5 class TypeCheckerTask extends CompilerTask {
6 TypeCheckerTask(Compiler compiler) : super(compiler); 6 TypeCheckerTask(Compiler compiler) : super(compiler);
7 String get name() => "Type checker"; 7 String get name() => "Type checker";
8 8
9 void check(Node tree, TreeElements elements) { 9 void check(Node tree, TreeElements elements) {
10 measure(() { 10 measure(() {
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 599
600 visitNamedArgument(NamedArgument node) { 600 visitNamedArgument(NamedArgument node) {
601 fail(node, 'named argument not implemented'); 601 fail(node, 'named argument not implemented');
602 } 602 }
603 603
604 visitSwitchStatement(SwitchStatement node) { 604 visitSwitchStatement(SwitchStatement node) {
605 compiler.unimplemented('visitSwitchStatement', node: node); 605 compiler.unimplemented('visitSwitchStatement', node: node);
606 } 606 }
607 607
608 visitTryStatement(TryStatement node) { 608 visitTryStatement(TryStatement node) {
609 compiler.unimplemented('visitTryStatement', node: node); 609 fail(node, 'unimplemented');
610 } 610 }
611 611
612 visitScriptTag(ScriptTag node) { 612 visitScriptTag(ScriptTag node) {
613 compiler.unimplemented('visitScriptTag', node: node); 613 compiler.unimplemented('visitScriptTag', node: node);
614 } 614 }
615 615
616 visitCatchBlock(CatchBlock node) { 616 visitCatchBlock(CatchBlock node) {
617 compiler.unimplemented('visitCatchBlock', node: node); 617 compiler.unimplemented('visitCatchBlock', node: node);
618 } 618 }
619 619
620 visitTypedef(Typedef node) { 620 visitTypedef(Typedef node) {
621 compiler.unimplemented('visitTypedef', node: node); 621 compiler.unimplemented('visitTypedef', node: node);
622 } 622 }
623 } 623 }
OLDNEW
« no previous file with comments | « frog/leg/ssa/tracer.dart ('k') | frog/leg/warnings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698