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

Unified Diff: lib/runtime/dart_runtime.js

Issue 971823002: rename `as` helper to make tools happy (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_runtime.js
diff --git a/lib/runtime/dart_runtime.js b/lib/runtime/dart_runtime.js
index 58641ea5be693f7d87622a5a3823c8770b3b197a..041ad24ae10ffbf38af038d9acee8ff54145ea8a 100644
--- a/lib/runtime/dart_runtime.js
+++ b/lib/runtime/dart_runtime.js
@@ -93,13 +93,13 @@ var dart;
}
dart.dbinary = dbinary;
- function as(obj, type) {
+ function as_(obj, type) {
// TODO(vsm): Implement.
// if (obj == null || is(obj, type)) return obj;
// throw new core.CastError();
return obj;
}
- dart.as = as;
+ dart.as = as_;
function is(obj, type) {
// TODO(vsm): Implement.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698