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

Unified Diff: lib/runtime/dart_library.js

Issue 1944483002: Redo how Type objects are exposed from DDC. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: More tweaks. Created 4 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
« no previous file with comments | « no previous file | lib/runtime/dart_sdk.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_library.js
diff --git a/lib/runtime/dart_library.js b/lib/runtime/dart_library.js
index 5f47c853784ff91d62755169320a5d41502c9858..1f0eb834d8ce1af62fa117fddacd4588de5e2c68 100644
--- a/lib/runtime/dart_library.js
+++ b/lib/runtime/dart_library.js
@@ -107,15 +107,6 @@ var dart_library =
// Force import of core.
var dart_sdk = import_('dart_sdk');
- var core = dart_sdk.core;
-
- // TODO(jmesserly): this can't be right.
- // See: https://github.com/dart-lang/dev_compiler/issues/488
- core.Object.toString = function() {
- // Interface types are represented by the corresponding constructor
- // function. This ensures that Dart interface types print properly.
- return this.name;
- }
// TODO(vsm): DOM facades?
// See: https://github.com/dart-lang/dev_compiler/issues/173
« no previous file with comments | « no previous file | lib/runtime/dart_sdk.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698