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

Unified Diff: test/dart_codegen/expect/math/random.dart

Issue 961493003: don't run dart gen on JS patch code (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 | « test/dart_codegen/expect/math/math ('k') | test/dart_codegen/expect/typed_data/typed_data » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/math/random.dart
diff --git a/test/dart_codegen/expect/math/random.dart b/test/dart_codegen/expect/math/random.dart
index 00a05ba7d16fb80edf37e72ff7580dfe651bbd6c..20d0a219ef734215c2acbff889744935369ecc37 100644
--- a/test/dart_codegen/expect/math/random.dart
+++ b/test/dart_codegen/expect/math/random.dart
@@ -1,8 +1,7 @@
part of dart.math;
abstract class Random {
- factory Random([int seed]) =>
- (seed == null) ? const _JSRandom() : new _Random(seed);
+ external factory Random([int seed]);
int nextInt(int max);
double nextDouble();
bool nextBool();
« no previous file with comments | « test/dart_codegen/expect/math/math ('k') | test/dart_codegen/expect/typed_data/typed_data » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698