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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 12093019: Support type variables on redirecting factory constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 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: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index bd1fac27c4711b46bd10e9ba0ecdd2e11f758774..c3e0dbda17d78e4dfd1ec7b8681d8fb66125f078 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -721,6 +721,8 @@ abstract class FunctionSignature {
void forEachOptionalParameter(void function(Element parameter));
void orderedForEachParameter(void function(Element parameter));
+
+ bool isCompatibleWith(FunctionSignature constructorSignature);
}
abstract class FunctionElement extends Element {
@@ -733,6 +735,8 @@ abstract class FunctionElement extends Element {
FunctionElement get patch;
FunctionElement get origin;
+ bool get isRedirection;
ngeoffray 2013/05/30 11:57:23 isRedirection -> isRedirectingFactory ?
karlklose 2013/05/30 12:24:41 Done.
+
// TODO(kasperl): These are bit fishy. Do we really need them?
void set patch(FunctionElement value);
void set origin(FunctionElement value);

Powered by Google App Engine
This is Rietveld 408576698