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

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

Issue 2781473004: Remove some additional code that depended on the old type propagation. (Closed)
Patch Set: Update fasta shadow AST Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/kernel/lib/transformations/closure/converter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
index acecd68fe5eb00f8d80841c5bec7c95d1e7d1d80..93ab7944a59ff12e99235a59079931ecfe6a382c 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
@@ -147,8 +147,8 @@ class KernelVariableDeclaration extends _KernelVariableDeclaration
bool isFinal: false,
bool isConst: false})
: _declaredType = type,
- super(name, initializer, type ?? const kernel.DynamicType(), null,
- isFinal, isConst);
+ super(name, initializer, type ?? const kernel.DynamicType(), isFinal,
+ isConst);
@override
KernelExpression get shadowInitializer => initializer;
@@ -206,17 +206,11 @@ class _KernelReturnStatement extends kernel.ReturnStatement {
/// a named constructor to [kernel.VariableDeclaration] in which all arguments
/// are required.
class _KernelVariableDeclaration extends kernel.VariableDeclaration {
- _KernelVariableDeclaration(
- String name,
- kernel.Expression initializer,
- DartType type,
- kernel.InferredValue inferredValue,
- bool isFinal,
- bool isConst)
+ _KernelVariableDeclaration(String name, kernel.Expression initializer,
+ DartType type, bool isFinal, bool isConst)
: super(name,
initializer: initializer,
type: type,
- inferredValue: inferredValue,
isFinal: isFinal,
isConst: isConst);
}
« no previous file with comments | « no previous file | pkg/kernel/lib/transformations/closure/converter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698