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

Side by Side Diff: pkg/front_end/testcases/rasta/malformed_const_constructor.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 unified diff | Download patch
OLDNEW
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core;
3 4
4 static method main() → dynamic 5 class A extends core::Object {
5 throw "pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:5: Err or: Expected a function body, but got ':'.\n : x = 'foo'\n ^"; 6 const constructor •() → dynamic
7 : invalid-initializer;
8 }
9 static method main() → dynamic {
10 const self::A::•();
11 new self::A::•();
12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698