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

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

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Add new test and remove generated tests for this CL. 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 883d44ae0831605ddc10046277b1681d1826015d..e5c38f817e0539c4a3e3c0a679ab1e63bef86892 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1209,6 +1209,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