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

Side by Side Diff: pkg/front_end/testcases/rasta/parser_error.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 unified diff | Download patch
OLDNEW
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "package:expect/expect.dart" as exp;
4 import "dart:core" as core;
5 3
6 static method test() → dynamic 4 static method main() → dynamic
7 invalid-statement; 5 throw "pkg/front_end/testcases/rasta/parser_error.dart:10:7: Error: Expected a n expression, but got '?'.\n if (?b) return b; /// 01: compile-time error\n ^";
8 static method main() → dynamic {
9 exp::Expect::equals(6, throw core::_genericNoSuchMethod(null, #test, <dynamic> [1], <dynamic, dynamic>{#b: 2, #c: 3}, <dynamic>[]));
10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698