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

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

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Handle function types with `void` return type. 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 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 157440dc1637d9580573f7c8afd7fefcae770aa0..16900b3c627cb5d09c719dd6436ba283e1e17b64 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -2147,6 +2147,9 @@ class LocalParameterElementZ extends ParameterElementZ
@override
ElementKind get kind => ElementKind.PARAMETER;
+
+ @override
+ bool get isUnnamed => false;
}
class InitializingFormalElementZ extends LocalParameterElementZ

Powered by Google App Engine
This is Rietveld 408576698