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

Side by Side Diff: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart

Issue 2993193002: When reordering constructor initializers, use correct types for temp vars. (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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /// This file declares a "shadow hierarchy" of concrete classes which extend 5 /// This file declares a "shadow hierarchy" of concrete classes which extend
6 /// the kernel class hierarchy, adding methods and fields needed by the 6 /// the kernel class hierarchy, adding methods and fields needed by the
7 /// BodyBuilder. 7 /// BodyBuilder.
8 /// 8 ///
9 /// Instances of these classes may be created using the factory methods in 9 /// Instances of these classes may be created using the factory methods in
10 /// `ast_factory.dart`. 10 /// `ast_factory.dart`.
(...skipping 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 : super(instrumentation, strongMode); 2092 : super(instrumentation, strongMode);
2093 2093
2094 @override 2094 @override
2095 AccessorNode createAccessorNode(KernelMember member) { 2095 AccessorNode createAccessorNode(KernelMember member) {
2096 AccessorNode accessorNode = new AccessorNode(this, member); 2096 AccessorNode accessorNode = new AccessorNode(this, member);
2097 member._accessorNode = accessorNode; 2097 member._accessorNode = accessorNode;
2098 return accessorNode; 2098 return accessorNode;
2099 } 2099 }
2100 2100
2101 @override 2101 @override
2102 TypeInferrer createDisabledTypeInferrer() =>
2103 new TypeInferrerDisabled(typeSchemaEnvironment);
2104
2105 @override
2102 KernelTypeInferrer createLocalTypeInferrer( 2106 KernelTypeInferrer createLocalTypeInferrer(
2103 Uri uri, TypeInferenceListener listener, InterfaceType thisType) { 2107 Uri uri, TypeInferenceListener listener, InterfaceType thisType) {
2104 return new KernelTypeInferrer._( 2108 return new KernelTypeInferrer._(
2105 this, uri.toString(), listener, false, thisType, null); 2109 this, uri.toString(), listener, false, thisType, null);
2106 } 2110 }
2107 2111
2108 @override 2112 @override
2109 MethodNode createMethodNode(KernelProcedure procedure) { 2113 MethodNode createMethodNode(KernelProcedure procedure) {
2110 MethodNode methodNode = new MethodNode(procedure); 2114 MethodNode methodNode = new MethodNode(procedure);
2111 procedure._methodNode = methodNode; 2115 procedure._methodNode = methodNode;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
2462 accept(v) => unsupported("accept", -1, null); 2466 accept(v) => unsupported("accept", -1, null);
2463 2467
2464 accept1(v, arg) => unsupported("accept1", -1, null); 2468 accept1(v, arg) => unsupported("accept1", -1, null);
2465 2469
2466 getStaticType(types) => unsupported("getStaticType", -1, null); 2470 getStaticType(types) => unsupported("getStaticType", -1, null);
2467 2471
2468 transformChildren(v) => unsupported("transformChildren", -1, null); 2472 transformChildren(v) => unsupported("transformChildren", -1, null);
2469 2473
2470 visitChildren(v) => unsupported("visitChildren", -1, null); 2474 visitChildren(v) => unsupported("visitChildren", -1, null);
2471 } 2475 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698