Files
sdk/pkg/front_end/testcases/rasta/parser_error.dart.direct.expect
T
Paul Berry 5dd84a802e Only set types of conditional expressions in strong mode.
In spec mode the types aren't meaningful anyway (due to the fact that
the spec mode type system is unsound), and they don't match the
behavior of Rasta (causing bot failures).

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2953503002 .
2017-06-20 14:59:29 -07:00

11 lines
328 B
Plaintext

library;
import self as self;
import "package:expect/expect.dart" as exp;
import "dart:core" as core;
static method test() → dynamic
invalid-statement;
static method main() → dynamic {
exp::Expect::equals(6, throw core::_genericNoSuchMethod(null, #test, <dynamic>[1], <dynamic, dynamic>{#b: 2, #c: 3}, <dynamic>[]));
}