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

Unified Diff: tool/input_sdk/private/js_rti.dart

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 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 | « tool/input_sdk/private/js_primitives.dart ('k') | tool/input_sdk/private/operations.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/js_rti.dart
diff --git a/tool/input_sdk/private/js_rti.dart b/tool/input_sdk/private/js_rti.dart
index 5016454e2db54f60997c157aae15f3cb7a172c12..e3e304c5903724855aea4b865aef44d568701340 100644
--- a/tool/input_sdk/private/js_rti.dart
+++ b/tool/input_sdk/private/js_rti.dart
@@ -11,17 +11,17 @@ Type getRuntimeType(var object) =>
/// Returns the property [index] of the JavaScript array [array].
getIndex(var array, int index) {
- assert(isJsArray(array));
+ assert_(isJsArray(array));
return JS('var', r'#[#]', array, index);
}
/// Returns the length of the JavaScript array [array].
int getLength(var array) {
- assert(isJsArray(array));
+ assert_(isJsArray(array));
return JS('int', r'#.length', array);
}
/// Returns whether [value] is a JavaScript array.
bool isJsArray(var value) {
return value is JSArray;
-}
+}
« no previous file with comments | « tool/input_sdk/private/js_primitives.dart ('k') | tool/input_sdk/private/operations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698