Index: pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart.direct.expect b/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c510acf125b4c21c72bb2eed83a7c46fff5665e5 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart.direct.expect |
@@ -0,0 +1,14 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+import "dart:math" as math; |
+ |
+static method f() → dynamic { |
+ core::num x; |
+ dynamic y; |
+ core::num a = math::max<dynamic>(x, y); |
+ core::Object b = math::max<dynamic>(x, y); |
+ dynamic c = math::max<dynamic>(x, y); |
+ dynamic d = math::max<dynamic>(x, y); |
+} |
+static method main() → dynamic {} |