| Index: pkg/analyzer/test/src/summary/summary_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
|
| index d7a25f35190fe49516009fb11168e80499249837..b8336556d85781ad099ea2cf18728040ff67a830 100644
|
| --- a/pkg/analyzer/test/src/summary/summary_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/summary_common.dart
|
| @@ -9554,6 +9554,17 @@ f(x) => 42;
|
| _assertParameterZeroVisibleRange(p);
|
| }
|
|
|
| + test_parameter_visibleRange_invalid_fieldFormalParameter() {
|
| + UnlinkedExecutable m =
|
| + findExecutable('m', executables: serializeClassText(r'''
|
| +class C {
|
| + int foo;
|
| + void m(this.foo) {}
|
| +}
|
| +''').executables);
|
| + _assertParameterZeroVisibleRange(m.parameters[0]);
|
| + }
|
| +
|
| test_parameter_visibleRange_typedef() {
|
| UnlinkedTypedef type = serializeTypedefText('typedef F(x);');
|
| _assertParameterZeroVisibleRange(type.parameters[0]);
|
|
|