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

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

Issue 2949753002: Print static types of conditional expressions. (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 2394a16ee0cd9211f52cf255dec7e78390573904..19e08286ed711fa1f60966aee4b1aa68b9440348 100644
--- a/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
@@ -3,14 +3,15 @@ import self as self;
import "dart:core" as core;
class Foo extends core::Object {
- constructor •() → dynamic
+ constructor •() → void
: super core::Object::•()
- invalid-statement;
+ 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 ^"));
}
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