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

Unified Diff: sdk/lib/core/int.dart

Issue 1204993002: Change documentation of modInverse to not specify error thrown. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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: sdk/lib/core/int.dart
diff --git a/sdk/lib/core/int.dart b/sdk/lib/core/int.dart
index 58d80b84607f5eec6965c1030ef417f6f4cc6cd5..16a1e0779db177679a66e9d6bc7b6dabc6104bc6 100644
--- a/sdk/lib/core/int.dart
+++ b/sdk/lib/core/int.dart
@@ -116,7 +116,7 @@ abstract class int extends num {
* modulo [modulus].
*
* The [modulus] must be positive.
- * Throws a RangeError if no modular inverse exists.
+ * Throws if no modular inverse exists.
regis 2015/06/24 18:29:54 For consistency, "It is an error if ..." would hav
Lasse Reichstein Nielsen 2015/06/30 12:39:15 True. I haven't yet decided on whether it should b
*/
int modInverse(int modulus);
« 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