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

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

Issue 1677423002: Revert "Fix super noSuchMethod handling." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
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.resolution.send_structure; 5 library dart2js.resolution.send_structure;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 case AccessKind.SUPER_SETTER: 762 case AccessKind.SUPER_SETTER:
763 return visitor.visitSuperSetterSet( 763 return visitor.visitSuperSetterSet(
764 node, 764 node,
765 semantics.element, 765 semantics.element,
766 node.arguments.single, 766 node.arguments.single,
767 arg); 767 arg);
768 case AccessKind.CONSTANT: 768 case AccessKind.CONSTANT:
769 // TODO(johnniwinther): Should this be a valid case? 769 // TODO(johnniwinther): Should this be a valid case?
770 break; 770 break;
771 case AccessKind.UNRESOLVED_SUPER: 771 case AccessKind.UNRESOLVED_SUPER:
772 return visitor.visitUnresolvedSuperSet( 772 // TODO(johnniwinther): Handle this separately.
773 node,
774 semantics.element,
775 node.arguments.single,
776 arg);
777 case AccessKind.UNRESOLVED: 773 case AccessKind.UNRESOLVED:
778 return visitor.visitUnresolvedSet( 774 return visitor.visitUnresolvedSet(
779 node, 775 node,
780 semantics.element, 776 semantics.element,
781 node.arguments.single, 777 node.arguments.single,
782 arg); 778 arg);
783 case AccessKind.INVALID: 779 case AccessKind.INVALID:
784 return visitor.errorInvalidSet( 780 return visitor.errorInvalidSet(
785 node, 781 node,
786 semantics.element, 782 semantics.element,
(...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after
3018 ThisConstructorInvokeStructure( 3014 ThisConstructorInvokeStructure(
3019 this.node, this.constructor, this.callStructure); 3015 this.node, this.constructor, this.callStructure);
3020 3016
3021 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) { 3017 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) {
3022 return visitor.visitThisConstructorInvoke( 3018 return visitor.visitThisConstructorInvoke(
3023 node, constructor, node.argumentsNode, callStructure, arg); 3019 node, constructor, node.argumentsNode, callStructure, arg);
3024 } 3020 }
3025 3021
3026 bool get isConstructorInvoke => true; 3022 bool get isConstructorInvoke => true;
3027 } 3023 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698