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

Side by Side Diff: pkg/compiler/lib/src/resolution/send_structure.dart

Issue 1110063012: Change code to remove two warnings that are reported when running build.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « no previous file | site/try/src/interaction_manager.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.send_structure; 5 library dart2js.send_structure;
6 6
7 import 'access_semantics.dart'; 7 import 'access_semantics.dart';
8 import 'operators.dart'; 8 import 'operators.dart';
9 import 'semantic_visitor.dart'; 9 import 'semantic_visitor.dart';
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 // TODO(johnniwinther): Should this be a valid case? 704 // TODO(johnniwinther): Should this be a valid case?
705 break; 705 break;
706 case AccessKind.UNRESOLVED_SUPER: 706 case AccessKind.UNRESOLVED_SUPER:
707 // TODO(johnniwinther): Handle this separately. 707 // TODO(johnniwinther): Handle this separately.
708 case AccessKind.UNRESOLVED: 708 case AccessKind.UNRESOLVED:
709 return visitor.errorUnresolvedSet( 709 return visitor.errorUnresolvedSet(
710 node, 710 node,
711 semantics.element, 711 semantics.element,
712 node.arguments.single, 712 node.arguments.single,
713 arg); 713 arg);
714 break;
715 case AccessKind.COMPOUND: 714 case AccessKind.COMPOUND:
716 // This is not a valid case. 715 // This is not a valid case.
717 break; 716 break;
718 } 717 }
719 throw new SpannableAssertionFailure(node, "Invalid setter: ${semantics}"); 718 throw new SpannableAssertionFailure(node, "Invalid setter: ${semantics}");
720 } 719 }
721 720
722 String toString() => 'set($selector,$semantics)'; 721 String toString() => 'set($selector,$semantics)';
723 } 722 }
724 723
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2163 final ConstructorElement constructor; 2162 final ConstructorElement constructor;
2164 final Selector selector; 2163 final Selector selector;
2165 2164
2166 ThisConstructorInvokeStructure(this.constructor, this.selector); 2165 ThisConstructorInvokeStructure(this.constructor, this.selector);
2167 2166
2168 R dispatch(SemanticDeclarationVisitor<R, A> visitor, Send node, A arg) { 2167 R dispatch(SemanticDeclarationVisitor<R, A> visitor, Send node, A arg) {
2169 return visitor.visitThisConstructorInvoke( 2168 return visitor.visitThisConstructorInvoke(
2170 node, constructor, node.argumentsNode, selector, arg); 2169 node, constructor, node.argumentsNode, selector, arg);
2171 } 2170 }
2172 } 2171 }
OLDNEW
« no previous file with comments | « no previous file | site/try/src/interaction_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698