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

Unified Diff: dart/frog/leg/lib/js_helper.dart

Issue 9724032: Resolve type Dynamic and implement black listing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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 | « dart/frog/leg/compiler.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/lib/js_helper.dart
diff --git a/dart/frog/leg/lib/js_helper.dart b/dart/frog/leg/lib/js_helper.dart
index 98361a25db9ac4d83c7ba8ae57aa50d5375ec944..08eaa6224ba32b3c99aba60351229816c590c3a0 100644
--- a/dart/frog/leg/lib/js_helper.dart
+++ b/dart/frog/leg/lib/js_helper.dart
@@ -1399,3 +1399,18 @@ jsPropertyAccess(var jsObject, String property) {
* FallThroughError exception that will be thrown.
*/
getFallThroughError() => const FallThroughError();
+
+/**
+ * Represents the type Dynamic. The compiler treats this specially.
+ */
+interface Dynamic {
+}
+
+/**
+ * Represents the type of Null. The compiler treats this specially.
+ */
+class Null {
+ factory Null() {
+ throw UnsupportedOperationException('new Null()');
+ }
+}
« no previous file with comments | « dart/frog/leg/compiler.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698