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

Unified Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 1945263003: Serialize ParameterElement.node and ParameterElement.initializer for type inference (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments Created 4 years, 7 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
Index: pkg/compiler/lib/src/serialization/modelz.dart
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart
index b280d6954fbccdff3f53131c1a8f6fceddca9623..7772956f1908a1a640062969081a19add626ce87 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -1867,13 +1867,13 @@ abstract class ParameterElementZ extends DeserializedElementZ
@override
FunctionSignature get functionSignature => _unsupported('functionSignature');
- // TODO(johnniwinther): HACK. Remove [initializer] and [node] on
+ // TODO(johnniwinther): Remove [initializer] and [node] on
// [ParameterElementZ] when the inference does need these.
@override
- Expression get initializer => null;
+ Expression initializer;
@override
- Node get node => null;
+ Node node;
@override
bool get isNamed => _decoder.getBool(Key.IS_NAMED);

Powered by Google App Engine
This is Rietveld 408576698