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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/dart_backend/backend.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/dart_backend/backend.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/dart/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 4c29888220cbbf0135c41aa9753413b59d7506be..5d27dc06acb14ca06ab916234b8169127b6eb543 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -357,7 +357,7 @@ class DartBackend extends Backend {
var classNode = classElement.parseNode(compiler);
SynthesizedConstructorElementX constructor =
new SynthesizedConstructorElementX(
- classElement.name, null, classElement);
+ classElement.name, null, classElement, false);
constructor.type = new FunctionType(
constructor,
compiler.types.voidType,

Powered by Google App Engine
This is Rietveld 408576698