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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_static.dart.outline.expect

Issue 2933643002: Implement type inference for assignments to a static variable. (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_static.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_static.dart.outline.expect b/pkg/front_end/testcases/inference/infer_assign_to_static.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..040381501510c80f87849d7bea8b923b804f9cea
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_assign_to_static.dart.outline.expect
@@ -0,0 +1,34 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class A extends core::Object {
+ constructor •() → void
+ ;
+}
+class B extends self::A {
+ static field self::B staticVariable;
+ constructor •() → void
+ ;
+ operator +(self::C v) → self::A
+ ;
+ operator -(core::int i) → self::B
+ ;
+ operator *(self::B v) → self::B
+ ;
+ operator &(self::A v) → self::C
+ ;
+}
+class C extends self::B {
+ constructor •() → void
+ ;
+}
+static field self::B topLevelVariable;
+static method f<T extends core::Object>() → self::f::T
+ ;
+static method test_topLevelVariable() → void
+ ;
+static method test_staticVariable() → void
+ ;
+static method main() → dynamic
+ ;

Powered by Google App Engine
This is Rietveld 408576698