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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 14168003: Implement implicit constructors in mixin applications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove debug code and rebase Created 7 years, 8 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/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 830fddf27d7be635f11c09feab8da0654a7710cd..c12bf96301af73693e802c77c9c6ee4222ce8a7b 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -280,7 +280,9 @@ class DartBackend extends Backend {
// field names used as named optionals into [fixedMemberNames].
for (final element in resolvedElements.keys) {
if (!element.isConstructor()) continue;
- for (final optional in element.functionSignature.optionalParameters) {
+ Link<Element> optionalParameters =
+ element.computeSignature(compiler).optionalParameters;
ahe 2013/04/15 13:36:46 This looks really bad. Why hasn't computeSignatur
karlklose 2013/04/25 11:25:53 It is not necessary, I forgot to delete it.
+ for (final optional in optionalParameters) {
if (optional.kind != ElementKind.FIELD_PARAMETER) continue;
fixedMemberNames.add(optional.name.slowToString());
}

Powered by Google App Engine
This is Rietveld 408576698