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

Unified Diff: test/dart_codegen/expect/core/identical.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/function.dart ('k') | test/dart_codegen/expect/core/int.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/identical.dart
diff --git a/test/dart_codegen/expect/core/identical.dart b/test/dart_codegen/expect/core/identical.dart
index c0158c7740ae9a066b38054e7c09560adb8f0abc..1f398d4f5be4894946688ad6091625769368125d 100644
--- a/test/dart_codegen/expect/core/identical.dart
+++ b/test/dart_codegen/expect/core/identical.dart
@@ -1,11 +1,10 @@
part of dart.core;
-@patch bool identical(Object a, Object b) {
+bool identical(Object a, Object b) {
return ((__x22) => DDC$RT.cast(__x22, dynamic, bool, "CastGeneral",
- """line 9, column 10 of dart:core/identical.dart: """, __x22 is bool,
+ """line 11, column 10 of dart:core/identical.dart: """, __x22 is bool,
true))(Primitives.identicalImplementation(a, b));
}
-@patch int identityHashCode(Object object) => ((__x23) => DDC$RT.cast(__x23,
- dynamic, int, "CastGeneral",
- """line 13, column 40 of dart:core/identical.dart: """, __x23 is int,
- true))(objectHashCode(object));
+int identityHashCode(Object object) => ((__x23) => DDC$RT.cast(__x23, dynamic,
+ int, "CastGeneral", """line 23, column 40 of dart:core/identical.dart: """,
+ __x23 is int, true))(objectHashCode(object));
« no previous file with comments | « test/dart_codegen/expect/core/function.dart ('k') | test/dart_codegen/expect/core/int.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698