blob: 2861009b116470b017346c758398946d92680c87 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:18:11: Error: Too few positional arguments: 1 required, 0 given.
// new Fisk();
// ^
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:8:3: Context: Found this candidate, but the arguments don't match.
// Fisk(int x) {}
// ^^^^
//
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:19:17: Error: Too few positional arguments: 1 required, 0 given.
// new Fisk.named();
// ^
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:10:3: Context: Found this candidate, but the arguments don't match.
// Fisk.named(int x) {}
// ^^^^^^^^^^
//
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:20:7: Error: Too few positional arguments: 1 required, 0 given.
// Fisk();
// ^
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:8:3: Context: Found this candidate, but the arguments don't match.
// Fisk(int x) {}
// ^^^^
//
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:21:13: Error: Too few positional arguments: 1 required, 0 given.
// Fisk.named();
// ^
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:10:3: Context: Found this candidate, but the arguments don't match.
// Fisk.named(int x) {}
// ^^^^^^^^^^
//
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:22:20: Error: Too few positional arguments: 1 required, 0 given.
// Fisk.staticMethod();
// ^
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:14:15: Context: Found this candidate, but the arguments don't match.
// static void staticMethod(int x) {}
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:23:24: Error: Too few positional arguments: 1 required, 0 given.
// (null as Fisk).method();
// ^
//
import self as self;
import "dart:core" as core;
class Fisk extends core::Object {
constructor •(core::int* x) self::Fisk*
: super core::Object::•() {}
constructor named(core::int* x) self::Fisk*
: super core::Object::•() {}
method method(core::int* x) void {}
static method staticMethod(core::int* x) void {}
abstract member-signature get _identityHashCode() core::int*;
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*;
abstract member-signature operator ==(dynamic other) core::bool*;
abstract member-signature get hashCode() core::int*;
abstract member-signature method toString() core::String*;
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic;
abstract member-signature get runtimeType() core::Type*;
}
static method test() dynamic {
invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:18:11: Error: Too few positional arguments: 1 required, 0 given.
new Fisk();
^";
invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:19:17: Error: Too few positional arguments: 1 required, 0 given.
new Fisk.named();
^";
invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:20:7: Error: Too few positional arguments: 1 required, 0 given.
Fisk();
^";
invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:21:13: Error: Too few positional arguments: 1 required, 0 given.
Fisk.named();
^";
invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:22:20: Error: Too few positional arguments: 1 required, 0 given.
Fisk.staticMethod();
^";
let final<BottomType> #t1 = invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/candidate_found.dart:23:24: Error: Too few positional arguments: 1 required, 0 given.
(null as Fisk).method();
^" in (null as self::Fisk*).{self::Fisk::method}();
}
static method main() → dynamic {}