blob: 00d0dfdfb9d84bad8501440fe1eea01e22f52a8f [file]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/private_named_parameters/wrong_parameter_kind.dart:7:11: Error: A named parameter that doesn't refer to an instance variable can't start with an underscore ('_').
// C({int? _notInitializingFormal});
// ^^^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/private_named_parameters/wrong_parameter_kind.dart:10:24: Error: A named parameter that doesn't refer to an instance variable can't start with an underscore ('_').
// factory C.fact({int? _inFactory}) => throw '!';
// ^^^^^^^^^^
//
// pkg/front_end/testcases/private_named_parameters/wrong_parameter_kind.dart:14:21: Error: A named parameter that doesn't refer to an instance variable can't start with an underscore ('_').
// void function({int? _parameter}) {}
// ^^^^^^^^^^
//
import self as self;
import "dart:core" as core;
class C extends core::Object {
constructor •({core::int? _notInitializingFormal = #C1}) → self::C
: super core::Object::•()
;
static factory fact({core::int? _inFactory = #C1}) → self::C
return throw "!";
}
static method function({core::int? _parameter = #C1}) → void {}
static method main() dynamic {}
constants {
#C1 = null
}