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

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

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Remove obsolete named argument. Created 3 years, 12 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 ded810b7c72dfa5ac386c5740e3dc023735f5472..f6a093d93556bad7c068bd0e2438ca625d1e3d3b 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1130,6 +1130,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