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

Side by Side Diff: pkg/compiler/lib/src/elements/modelx.dart

Issue 2647043002: Fix hints reported by analyzer. (Closed)
Patch Set: Address review comments. Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/hash/sha1.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) 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 '../common.dart'; 7 import '../common.dart';
8 import '../common/names.dart' show Identifiers; 8 import '../common/names.dart' show Identifiers;
9 import '../common/resolution.dart' show Resolution, ParsingContext; 9 import '../common/resolution.dart' show Resolution, ParsingContext;
10 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 ErroneousConstructorElementX(MessageKind messageKind, Map messageArguments, 307 ErroneousConstructorElementX(MessageKind messageKind, Map messageArguments,
308 String name, Element enclosing) 308 String name, Element enclosing)
309 : super(messageKind, messageArguments, name, enclosing); 309 : super(messageKind, messageArguments, name, enclosing);
310 310
311 @override 311 @override
312 bool get isRedirectingGenerative => false; 312 bool get isRedirectingGenerative => false;
313 313
314 @override 314 @override
315 bool isRedirectingGenerativeInternal; 315 bool isRedirectingGenerativeInternal;
316 316
317 @override
318 void set isRedirectingGenerative(_) { 317 void set isRedirectingGenerative(_) {
319 throw new UnsupportedError("isRedirectingGenerative"); 318 throw new UnsupportedError("isRedirectingGenerative");
320 } 319 }
321 320
322 @override 321 @override
323 bool get isRedirectingFactory => false; 322 bool get isRedirectingFactory => false;
324 323
325 @override 324 @override
326 get definingElement { 325 get definingElement {
327 throw new UnsupportedError("definingElement"); 326 throw new UnsupportedError("definingElement");
(...skipping 3093 matching lines...) Expand 10 before | Expand all | Expand 10 after
3421 body = node.asFunctionExpression().body; 3420 body = node.asFunctionExpression().body;
3422 } 3421 }
3423 return new ParsedResolvedAst( 3422 return new ParsedResolvedAst(
3424 declaration, 3423 declaration,
3425 node, 3424 node,
3426 body, 3425 body,
3427 definingElement.treeElements, 3426 definingElement.treeElements,
3428 definingElement.compilationUnit.script.resourceUri); 3427 definingElement.compilationUnit.script.resourceUri);
3429 } 3428 }
3430 } 3429 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/hash/sha1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698