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

Unified Diff: test/generated_sdk/lib/core/errors.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/core/double.dart ('k') | test/generated_sdk/lib/core/expando.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_sdk/lib/core/errors.dart
diff --git a/test/generated_sdk/lib/core/errors.dart b/test/generated_sdk/lib/core/errors.dart
index 19394d586efa32c902ceff3bb9f09671798f2f3f..d1cba8cbf39cc88338ece5372b07563135cc2980 100644
--- a/test/generated_sdk/lib/core/errors.dart
+++ b/test/generated_sdk/lib/core/errors.dart
@@ -84,17 +84,15 @@ class Error {
return _objectToString(object);
}
- @patch
+ /** Convert string to a valid string literal with no control characters. */
static String _stringToSafeString(String string) {
return jsonEncodeNative(string);
}
- @patch
static String _objectToString(Object object) {
return Primitives.objectToString(object);
}
- @patch
StackTrace get stackTrace => Primitives.extractStackTrace(this);
}
@@ -460,7 +458,6 @@ class NoSuchMethodError extends Error {
_namedArguments = namedArguments,
_existingArgumentNames = existingArgumentNames;
- @patch
String toString() {
StringBuffer sb = new StringBuffer();
int i = 0;
« no previous file with comments | « test/generated_sdk/lib/core/double.dart ('k') | test/generated_sdk/lib/core/expando.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698