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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Fixes after rebase. 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/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index ab27bf0c020c0d37f65b5866923641689028ae4b..db4e79f1ab07d917a7b5780ba4f426ff703a2030 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1208,6 +1208,9 @@ abstract class FormalElement extends Element
FunctionTypedElement get functionDeclaration;
VariableDefinitions get node;
+
+ /// Whether the parameter is unnamed in a function type.
+ bool get isUnnamed;
}
/// A formal parameter of a function or constructor.

Powered by Google App Engine
This is Rietveld 408576698