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

Unified Diff: test/dart_codegen/expect/core/expando.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/errors.dart ('k') | test/dart_codegen/expect/core/function.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/expando.dart
diff --git a/test/dart_codegen/expect/core/expando.dart b/test/dart_codegen/expect/core/expando.dart
index 3053dec058a4b1879d2663cfacab08a5300c91be..7afe768f5d8e28256dd5a502e7d5ad2adf37f4b4 100644
--- a/test/dart_codegen/expect/core/expando.dart
+++ b/test/dart_codegen/expect/core/expando.dart
@@ -2,16 +2,16 @@ part of dart.core;
class Expando<T> {
final String name;
- @patch Expando([String name]) : this.name = name;
+ Expando([String name]) : this.name = name;
String toString() => "Expando:$name";
- @patch T operator [](Object object) {
+ T operator [](Object object) {
var values = Primitives.getProperty(object, _EXPANDO_PROPERTY_NAME);
return ((__x21) => DDC$RT.cast(__x21, dynamic, T, "CastGeneral",
- """line 44, column 12 of dart:core/expando.dart: """, __x21 is T,
+ """line 55, column 12 of dart:core/expando.dart: """, __x21 is T,
false))(
(values == null) ? null : Primitives.getProperty(values, _getKey()));
}
- @patch void operator []=(Object object, T value) {
+ void operator []=(Object object, T value) {
var values = Primitives.getProperty(object, _EXPANDO_PROPERTY_NAME);
if (values == null) {
values = new Object();
« no previous file with comments | « test/dart_codegen/expect/core/errors.dart ('k') | test/dart_codegen/expect/core/function.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698