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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect

Issue 2941813002: Fix fasta testcase to avoid a super call to an abstract method. (Closed)
Patch Set: Created 3 years, 6 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
Index: pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect
index 9cc8d8706dded1283abe624e59ace462821e9379..7132a5c31c37e27abb6c7b1dfcd932c41bd0e028 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.direct.expect
@@ -6,8 +6,12 @@ abstract class Base<T extends core::Object, U extends core::Object> extends core
constructor •() → void
: super core::Object::•()
;
- abstract operator [](core::String s) → self::Base::T;
- abstract operator []=(core::String s, self::Base::U v) → void;
+ operator [](core::String s) → self::Base::T
+ return this.getValue(s);
+ operator []=(core::String s, self::Base::U v) → void
+ return this.setValue(s, v);
+ abstract method getValue(core::String s) → self::Base::T;
+ abstract method setValue(core::String s, self::Base::U v) → void;
}
abstract class Test1 extends self::Base<core::int, core::int> {
constructor •() → void

Powered by Google App Engine
This is Rietveld 408576698