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

Unified Diff: pkg/front_end/testcases/inference/infer_local_function_return_type.dart.strong.expect

Issue 2939523003: Add expectations to infer_local_function_return_type. (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
« no previous file with comments | « pkg/front_end/testcases/inference/infer_local_function_return_type.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/infer_local_function_return_type.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.strong.expect b/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.strong.expect
index fc0eb356e198ba9500af4a5a93eaa4c066a42156..0f610b5949b9ead50607f3e72574eb5ae2847f50 100644
--- a/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.strong.expect
@@ -3,7 +3,7 @@ import self as self;
import "dart:core" as core;
const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/inference/infer_local_function_return_type.dart:31:51: Error: Previous use of 'f9'.\n f8() => /*error:REFERENCED_BEFORE_DECLARATION*/ f9();\n ^"]/* from null */;
-static method main() → dynamic {
+static method test() → dynamic {
function f0() → dynamic
return 42;
function f1() → dynamic async
@@ -28,3 +28,4 @@ static method main() → dynamic {
return throw new core::NoSuchMethodError::_withType(null, #f9, 32, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null);
const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/inference/infer_local_function_return_type.dart:32:3: Error: Can't declare 'f9' because it was already used in this scope.\n f9() => f5();\n ^"));
}
+static method main() → dynamic {}
« no previous file with comments | « pkg/front_end/testcases/inference/infer_local_function_return_type.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698