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

Unified Diff: pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect

Issue 2900753002: Update status and expectations. (Closed)
Patch Set: Created 3 years, 7 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_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect
diff --git a/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect b/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..628202a9cf31aa042877a03ee9c4cd71b6cda2b4
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect
@@ -0,0 +1,26 @@
+library test;
+import self as self;
+import "./infer_type_regardless_of_declaration_order_or_cycles_b.dart" as inf;
+import "dart:core" as core;
+
+class C extends inf::B {
+ constructor •() → void
+ : super inf::B::•()
+ ;
+ get x() → dynamic
+ return null;
+}
+class A extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+ get x() → core::int
+ return 0;
+}
+static method foo() → dynamic {
+ core::int y = (throw new core::NoSuchMethodError::•(null, #C, <dynamic>[], <dynamic, dynamic>{}, null)).x;
+ core::String z = (throw new core::NoSuchMethodError::•(null, #C, <dynamic>[], <dynamic, dynamic>{}, null)).x;
+}
+static method main() → dynamic {
+ self::foo();
+}

Powered by Google App Engine
This is Rietveld 408576698