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

Unified Diff: test/generated_sdk/lib/math/random.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (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/generated_sdk/lib/math/math.dart ('k') | test/generated_sdk/lib/typed_data/typed_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_sdk/lib/math/random.dart
diff --git a/test/generated_sdk/lib/math/random.dart b/test/generated_sdk/lib/math/random.dart
index f4084c78770a58a10debc639c31825a4cc3654b9..13654cdcfe4957a4f81e0dd270a17012de83059a 100644
--- a/test/generated_sdk/lib/math/random.dart
+++ b/test/generated_sdk/lib/math/random.dart
@@ -11,7 +11,11 @@ part of dart.math;
* pseudo-random bits that are not suitable for cryptographic purposes.
*/
abstract class Random {
- @patch
+ /**
+ * Creates a random-number generator. The optional parameter [seed] is used
+ * to initialize the internal state of the generator. The implementation of
+ * the random stream can change between releases of the library.
+ */
factory Random([int seed]) =>
(seed == null) ? const _JSRandom() : new _Random(seed);
« no previous file with comments | « test/generated_sdk/lib/math/math.dart ('k') | test/generated_sdk/lib/typed_data/typed_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698