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

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

Issue 16633008: Diagnose unresolved constructors in platform libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
index 5ceb7d3dd76a41c0bb1773d96b0e785530406673..04421171a11e1c313ac04dc3c6210883bf3bd301 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -968,13 +968,7 @@ abstract class Compiler implements DiagnosticListener {
if (element.isClass()) {
ClassElement cls = element;
cls.ensureResolved(this);
- cls.forEachLocalMember((e) {
- if (e.isSynthesized) {
- // TODO(ahe): Work-around for http://dartbug.com/11205.
- if (e.getLibrary().isPlatformLibrary) return;
- }
- world.addToWorkList(e);
- });
+ cls.forEachLocalMember(enqueuer.resolution.addToWorkList);
world.registerInstantiatedClass(element, globalDependencies);
} else {
world.addToWorkList(element);
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698