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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 68113004: Fix status+warning. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | tests/co19/co19-dart2js.status » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 elements.modelx; 5 library elements.modelx;
6 6
7 import 'elements.dart'; 7 import 'elements.dart';
8 import '../../compiler.dart' as api; 8 import '../../compiler.dart' as api;
9 import '../tree/tree.dart'; 9 import '../tree/tree.dart';
10 import '../util/util.dart'; 10 import '../util/util.dart';
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 // TODO(kasperl): These seem unnecessary. 337 // TODO(kasperl): These seem unnecessary.
338 set patch(value) => unsupported(); 338 set patch(value) => unsupported();
339 set origin(value) => unsupported(); 339 set origin(value) => unsupported();
340 set defaultImplementation(value) => unsupported(); 340 set defaultImplementation(value) => unsupported();
341 341
342 get redirectionTarget => this; 342 get redirectionTarget => this;
343 343
344 getLibrary() => enclosingElement.getLibrary(); 344 getLibrary() => enclosingElement.getLibrary();
345 345
346 computeTargetType(Compiler compiler, InterfaceType newType) => unsupported(); 346 computeTargetType(InterfaceType newType) => unsupported();
347 347
348 String get message => '${messageKind.message(messageArguments)}'; 348 String get message => '${messageKind.message(messageArguments)}';
349 349
350 String toString() => '<$name: $message>'; 350 String toString() => '<$name: $message>';
351 } 351 }
352 352
353 /// A message attached to a [WarnOnUseElementX]. 353 /// A message attached to a [WarnOnUseElementX].
354 class WrappedMessage { 354 class WrappedMessage {
355 /// The message position. If [:null:] the position of the reference to the 355 /// The message position. If [:null:] the position of the reference to the
356 /// [WarnOnUseElementX] is used. 356 /// [WarnOnUseElementX] is used.
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after
2370 2370
2371 MetadataAnnotation ensureResolved(Compiler compiler) { 2371 MetadataAnnotation ensureResolved(Compiler compiler) {
2372 if (resolutionState == STATE_NOT_STARTED) { 2372 if (resolutionState == STATE_NOT_STARTED) {
2373 compiler.resolver.resolveMetadataAnnotation(this); 2373 compiler.resolver.resolveMetadataAnnotation(this);
2374 } 2374 }
2375 return this; 2375 return this;
2376 } 2376 }
2377 2377
2378 String toString() => 'MetadataAnnotation($value, $resolutionState)'; 2378 String toString() => 'MetadataAnnotation($value, $resolutionState)';
2379 } 2379 }
OLDNEW
« no previous file with comments | « no previous file | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698