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

Unified Diff: pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (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/rasta/bad_redirection.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
index 19e08286ed711fa1f60966aee4b1aa68b9440348..2394a16ee0cd9211f52cf255dec7e78390573904 100644
--- a/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
@@ -3,15 +3,14 @@ import self as self;
import "dart:core" as core;
class Foo extends core::Object {
- constructor •() → void
+ constructor •() → dynamic
: super core::Object::•()
- const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_redirection.dart:6:11: Error: Can't return from a constructor.\n Foo() = Bar;\n ^"));
+ invalid-statement;
}
class Bar extends self::Foo {
static factory •() → self::Bar
return null;
}
-const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/bad_redirection.dart:6:9: Error: Expected a function body or '=>'.\n Foo() = Bar;\n ^"]/* from null */;
static method main() → dynamic {
new self::Foo::•();
}

Powered by Google App Engine
This is Rietveld 408576698