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

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

Issue 14168003: Implement implicit constructors in mixin applications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index c505a4728d4f7604d76d8d2ac838e5b62bbc522c..99359d7ce7ffbfe89062092358b5bbc339792dae 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -952,6 +952,7 @@ abstract class Compiler implements DiagnosticListener {
TreeElements analyzeElement(Element element) {
assert(invariant(element, element.isDeclaration));
+ assert(!element.isForwardingConstructor);
TreeElements elements = enqueuer.resolution.getCachedElements(element);
if (elements != null) return elements;
assert(parser != null);

Powered by Google App Engine
This is Rietveld 408576698