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

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

Issue 2990983002: Handle NativeTypedArray in closed_world_from_dill_test (Closed)
Patch Set: Created 3 years, 4 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/common_elements.dart ('k') | pkg/compiler/lib/src/js_backend/backend.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 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 1939
1940 @override 1940 @override
1941 bool get isFinal => true; 1941 bool get isFinal => true;
1942 1942
1943 @override 1943 @override
1944 bool get isLocal => true; 1944 bool get isLocal => true;
1945 1945
1946 ConstructorElement get functionDeclaration => super.functionDeclaration; 1946 ConstructorElement get functionDeclaration => super.functionDeclaration;
1947 } 1947 }
1948 1948
1949 // ignore: strong_mode_invalid_method_override_from_base
Johnni Winther 2017/07/28 18:06:02 Not sure why this error suddenly (re-)appeared in
1949 class ErroneousInitializingFormalElementX extends ParameterElementX 1950 class ErroneousInitializingFormalElementX extends ParameterElementX
1950 implements InitializingFormalElementX { 1951 implements InitializingFormalElementX {
1951 final ErroneousFieldElementX fieldElement; 1952 final ErroneousFieldElementX fieldElement;
1952 1953
1953 ErroneousInitializingFormalElementX( 1954 ErroneousInitializingFormalElementX(
1954 Identifier identifier, Element enclosingElement) 1955 Identifier identifier, Element enclosingElement)
1955 : this.fieldElement = 1956 : this.fieldElement =
1956 new ErroneousFieldElementX(identifier, enclosingElement), 1957 new ErroneousFieldElementX(identifier, enclosingElement),
1957 super(ElementKind.INITIALIZING_FORMAL, enclosingElement, null, 1958 super(ElementKind.INITIALIZING_FORMAL, enclosingElement, null,
1958 identifier, null); 1959 identifier, null);
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
3603 body = node.asFunctionExpression().body; 3604 body = node.asFunctionExpression().body;
3604 } 3605 }
3605 return new ParsedResolvedAst( 3606 return new ParsedResolvedAst(
3606 declaration, 3607 declaration,
3607 node, 3608 node,
3608 body, 3609 body,
3609 definingElement.treeElements, 3610 definingElement.treeElements,
3610 definingElement.compilationUnit.script.resourceUri); 3611 definingElement.compilationUnit.script.resourceUri);
3611 } 3612 }
3612 } 3613 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common_elements.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698