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

Side by Side Diff: pkg/compiler/lib/src/kernel/error.dart

Issue 2862163003: Move resolution/operators.dart to elements/operators.dart (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'package:kernel/ast.dart' as ir; 5 import 'package:kernel/ast.dart' as ir;
6 6
7 import "../elements/elements.dart" show Element, ErroneousElement;
8 import "../elements/operators.dart"
9 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator;
7 import "../elements/resolution_types.dart" show ResolutionDartType; 10 import "../elements/resolution_types.dart" show ResolutionDartType;
8 import "../elements/elements.dart" show Element, ErroneousElement;
9 import "../resolution/operators.dart"
10 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator;
11 import "../tree/tree.dart" 11 import "../tree/tree.dart"
12 show Expression, NewExpression, Node, NodeList, Operator, Send, SendSet; 12 show Expression, NewExpression, Node, NodeList, Operator, Send, SendSet;
13 import "../universe/call_structure.dart" show CallStructure; 13 import "../universe/call_structure.dart" show CallStructure;
14 import "../universe/selector.dart" show Selector; 14 import "../universe/selector.dart" show Selector;
15 15
16 abstract class KernelError { 16 abstract class KernelError {
17 // TODO(ahe): Get rid of this method, each error should be handled according 17 // TODO(ahe): Get rid of this method, each error should be handled according
18 // to the semantics required by the Dart Language Specification. 18 // to the semantics required by the Dart Language Specification.
19 ir.Expression handleError(Expression node); 19 ir.Expression handleError(Expression node);
20 20
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ir.Expression errorUnresolvedThisConstructorInvoke( 130 ir.Expression errorUnresolvedThisConstructorInvoke(
131 Send node, Element element, NodeList arguments, Selector selector, _) { 131 Send node, Element element, NodeList arguments, Selector selector, _) {
132 return handleError(node); 132 return handleError(node);
133 } 133 }
134 134
135 ir.Expression errorInvalidIndexSetIfNull( 135 ir.Expression errorInvalidIndexSetIfNull(
136 SendSet node, ErroneousElement error, Node index, Node rhs, _) { 136 SendSet node, ErroneousElement error, Node index, Node rhs, _) {
137 return handleError(node); 137 return handleError(node);
138 } 138 }
139 } 139 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_adapter.dart ('k') | pkg/compiler/lib/src/kernel/kernel_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698