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

Unified Diff: dart/sdk/lib/html/dart2js/html_dart2js.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
Index: dart/sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/dart/sdk/lib/html/dart2js/html_dart2js.dart b/dart/sdk/lib/html/dart2js/html_dart2js.dart
index 1733d9e87b87f28ae1be3ae87e404f6dd710a784..2870931c48a5e8e8b2d82acc62f5573727bfa9d1 100644
--- a/dart/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/dart/sdk/lib/html/dart2js/html_dart2js.dart
@@ -63,6 +63,7 @@ ElementList queryAll(String selector) => document.queryAll(selector);
// Workaround for tags like <cite> that lack their own Element subclass --
// Dart issue 1990.
class _HTMLElement extends Element native "HTMLElement" {
+ factory _HTMLElement() { throw new UnsupportedError("Not supported"); }
}
// Support for Send/ReceivePortSync.

Powered by Google App Engine
This is Rietveld 408576698