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

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

Issue 2705593002: Fix various nits in VM patch files. (Closed)
Patch Set: Address comments and issues found during testing. Created 3 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 | « sdk/lib/convert/string_conversion.dart ('k') | sdk/lib/dart_client.platform » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/errors.dart
diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart
index 16f2ffb09934139627dd4ec0a84e388cd622b8ea..c774b6517cb298249a2eebdb88d98976dbc7d139 100644
--- a/sdk/lib/core/errors.dart
+++ b/sdk/lib/core/errors.dart
@@ -159,9 +159,7 @@ class ArgumentError extends Error {
* names differ from the interface, it might be more useful to use the
* interface method's argument name (or just rename arguments to match).
*/
- ArgumentError.value(value,
- [String this.name,
- String this.message])
+ ArgumentError.value(value, [this.name, this.message])
: invalidValue = value,
_hasValue = true;
@@ -499,7 +497,7 @@ class UnsupportedError extends Error {
*/
class UnimplementedError extends Error implements UnsupportedError {
final String message;
- UnimplementedError([String this.message]);
+ UnimplementedError([this.message]);
String toString() => (this.message != null
? "UnimplementedError: $message"
: "UnimplementedError");
« no previous file with comments | « sdk/lib/convert/string_conversion.dart ('k') | sdk/lib/dart_client.platform » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698