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

Side by Side Diff: pkg/front_end/testcases/rasta/bad_default_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/bad_default_constructor.dart: Error: A ha s no constructor that takes no arguments."; 6 constructor •(dynamic x) → dynamic
7 : super core::Object::•()
8 ;
9 }
10 class B extends self::A {
11 constructor •() → self::B
12 : invalid-initializer;
13 }
14 static method main() → dynamic {
15 new self::B::•();
16 invalid-expression;
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698