blob: d5c1bd21cf09aa3ede534887c0e3412bc9a8af62 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/argument_mismatch.dart:8:34: Warning: Too many positional arguments: 0 allowed, but 1 found.
// Try removing the extra positional arguments.
// /*@warning=MethodNotFound*/ foo(null);
// ^
// pkg/front_end/testcases/general/argument_mismatch.dart:5:1: Context: Found this candidate, but the arguments don't match.
// foo() {}
// ^^^
//
import self as self;
import "dart:core" as core;
static method foo() dynamic {}
static method test() dynamic {
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol*, dynamic>(#C4)));
}
static method main() dynamic {}
constants {
#C1 = #foo
#C2 = <core::Type*>[]
#C3 = <dynamic>[]
#C4 = core::_ImmutableMap<core::Symbol*, dynamic> {_kvPairs:#C3}
}