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

Unified Diff: test/dart_codegen/expect/core/int.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/dart_codegen/expect/core/identical.dart ('k') | test/dart_codegen/expect/core/list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/int.dart
diff --git a/test/dart_codegen/expect/core/int.dart b/test/dart_codegen/expect/core/int.dart
index 2d7334b435066c7421397dd9a104c7946be594b5..f044dc86e71aa6624dd6b537d37fdf9784d0dbc5 100644
--- a/test/dart_codegen/expect/core/int.dart
+++ b/test/dart_codegen/expect/core/int.dart
@@ -1,7 +1,7 @@
part of dart.core;
abstract class int extends num {
- @patch factory int.fromEnvironment(String name, {int defaultValue}) {
+ factory int.fromEnvironment(String name, {int defaultValue}) {
throw new UnsupportedError(
'int.fromEnvironment can only be used as a const constructor');
}
@@ -29,10 +29,9 @@ abstract class int extends num {
double truncateToDouble();
String toString();
String toRadixString(int radix);
- @patch static int parse(String source,
- {int radix, int onError(String source)}) {
+ static int parse(String source, {int radix, int onError(String source)}) {
return ((__x24) => DDC$RT.cast(__x24, dynamic, int, "CastGeneral",
- """line 246, column 12 of dart:core/int.dart: """, __x24 is int,
+ """line 281, column 12 of dart:core/int.dart: """, __x24 is int,
true))(Primitives.parseInt(source, radix, onError));
}
}
« no previous file with comments | « test/dart_codegen/expect/core/identical.dart ('k') | test/dart_codegen/expect/core/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698