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

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

Issue 1130813002: dart2js cps: Handle error cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Whitelist unused API due to semantic visitor being WIP 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
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.semantics_visitor; 5 library dart2js.semantics_visitor;
6 6
7 import '../constants/expressions.dart'; 7 import '../constants/expressions.dart';
8 import '../dart2jslib.dart' show invariant, MessageKind; 8 import '../dart2jslib.dart' show invariant, MessageKind;
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
(...skipping 3032 matching lines...) Expand 10 before | Expand all | Expand 10 after
3043 /// For instance 3043 /// For instance
3044 /// m() => new Unresolved(true, 42); 3044 /// m() => new Unresolved(true, 42);
3045 /// 3045 ///
3046 /// where [type] is the malformed type `Unresolved`. 3046 /// where [type] is the malformed type `Unresolved`.
3047 /// 3047 ///
3048 // TODO(johnniwinther): Change [type] to [MalformedType] when is it not 3048 // TODO(johnniwinther): Change [type] to [MalformedType] when is it not
3049 // `dynamic`. 3049 // `dynamic`.
3050 R visitUnresolvedClassConstructorInvoke( 3050 R visitUnresolvedClassConstructorInvoke(
3051 NewExpression node, 3051 NewExpression node,
3052 Element element, 3052 Element element,
3053 MalformedType type, 3053 DartType type,
3054 NodeList arguments, 3054 NodeList arguments,
3055 Selector selector, 3055 Selector selector,
3056 A arg); 3056 A arg);
3057 3057
3058 /// Constant invocation of a non-constant constructor. 3058 /// Constant invocation of a non-constant constructor.
3059 /// 3059 ///
3060 /// For instance 3060 /// For instance
3061 /// class C { 3061 /// class C {
3062 /// C(a, b); 3062 /// C(a, b);
3063 /// } 3063 /// }
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
3648 /// C() : this._(42); 3648 /// C() : this._(42);
3649 /// } 3649 /// }
3650 /// 3650 ///
3651 R errorUnresolvedThisConstructorInvoke( 3651 R errorUnresolvedThisConstructorInvoke(
3652 Send node, 3652 Send node,
3653 Element element, 3653 Element element,
3654 NodeList arguments, 3654 NodeList arguments,
3655 Selector selector, 3655 Selector selector,
3656 A arg); 3656 A arg);
3657 } 3657 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698