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

Unified Diff: test/generated_sdk/lib/core/int.dart

Issue 1020043002: Replace dart_core.js with actual compiled SDK (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
Index: test/generated_sdk/lib/core/int.dart
diff --git a/test/generated_sdk/lib/core/int.dart b/test/generated_sdk/lib/core/int.dart
index ca21390fbd17d82f998eb8f5a67cb2d049acc394..982402df4046c75048dc64dcf7a0e824e52158e6 100644
--- a/test/generated_sdk/lib/core/int.dart
+++ b/test/generated_sdk/lib/core/int.dart
@@ -278,6 +278,8 @@ abstract class int extends num {
static int parse(String source,
{ int radix,
int onError(String source) }) {
- return Primitives.parseInt(source, radix, onError);
+ // TODO(jmesserly): fix this
+ return JS('int', 'Number(#)', source);
+ //return Primitives.parseInt(source, radix, onError);
}
}

Powered by Google App Engine
This is Rietveld 408576698