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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 22300007: Compute the correct signature for default constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index 607bc6e9d35a50fe61c2b1c3b3d1ca290bd42a11..00f2a4d9f6301c86888b5000071b4d8423371dbf 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -3337,9 +3337,8 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
FunctionElement createForwardingConstructor(FunctionElement target,
ClassElement enclosing) {
- return new SynthesizedConstructorElementX(target.name,
- target,
- enclosing);
+ return new SynthesizedConstructorElementX(
+ target.name, target, enclosing, false);
}
void doApplyMixinTo(MixinApplicationElement mixinApplication,

Powered by Google App Engine
This is Rietveld 408576698