5dd84a802e
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 .
11 lines
328 B
Plaintext
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>[]));
|
|
}
|