@@ -997,7 +997,7 @@ enum MacrosFromAccessors {
997997/// {@category NotSoExcellent}
998998class SubForDocComments extends BaseForDocComments {
999999 SubForDocComments (bool thing) : super (thing);
1000-
1000+
10011001 /// Reference to [foo] and [bar]
10021002 void localMethod (String foo, bar) {}
10031003
@@ -1257,7 +1257,6 @@ abstract class IntermediateAbstract extends Object {
12571257/// This should inherit [==] from [IntermediateAbstract] .
12581258class IntermediateAbstractSubclass extends IntermediateAbstract {}
12591259
1260-
12611260/// Test parameter comment resolution in factory constructors and methods.
12621261class FactoryConstructorThings {
12631262 bool aName;
@@ -1286,10 +1285,12 @@ class FactoryConstructorThings {
12861285 void aMethod (bool yetAnotherName) {}
12871286}
12881287
1288+ DTypeParam
1289+ aTopLevelTypeParameterFunction <DTypeParam extends TypeParameterThings >(
1290+ DTypeParam typedParam) {}
12891291
1290- DTypeParam aTopLevelTypeParameterFunction <DTypeParam extends TypeParameterThings >(DTypeParam typedParam) {}
1291-
1292- abstract class TypeParameterThings <ATypeParam , BTypeParam extends FactoryConstructorThings > {
1292+ abstract class TypeParameterThings <ATypeParam ,
1293+ BTypeParam extends FactoryConstructorThings > {
12931294 ATypeParam aName;
12941295 List <BTypeParam > aThing;
12951296
@@ -1299,18 +1300,26 @@ abstract class TypeParameterThings<ATypeParam, BTypeParam extends FactoryConstru
12991300
13001301/// Test that inheriting documentation can still reference parent type
13011302/// parameters.
1302- class TypeParameterThingsExtended extends TypeParameterThings <String , FactoryConstructorThings > {
1303+ class TypeParameterThingsExtended
1304+ extends TypeParameterThings <String , FactoryConstructorThings > {
13031305 @override
1304- FactoryConstructorThings aMethod <QTypeParam >(String aParam, QTypeParam anotherParam) => null ;
1306+ FactoryConstructorThings aMethod <QTypeParam >(
1307+ String aParam, QTypeParam anotherParam) =>
1308+ null ;
13051309}
13061310
13071311/// Test that overriding documentation uses local type parameters.
1308- class TypeParameterThingsExtendedQ extends TypeParameterThings <String , FactoryConstructorThings > {
1312+ class TypeParameterThingsExtendedQ
1313+ extends TypeParameterThings <String , FactoryConstructorThings > {
13091314 @override
1315+
13101316 /// I override documentation so I can reference [QTypeParam] .
1311- FactoryConstructorThings aMethod <QTypeParam >(String aParam, QTypeParam anotherParam) => null ;
1317+ FactoryConstructorThings aMethod <QTypeParam >(
1318+ String aParam, QTypeParam anotherParam) =>
1319+ null ;
13121320}
13131321
13141322/// We should still be able to reference [fParam.fParamA] , [fParam.fParamB] ,
13151323/// and [fParam.fParamC] .
1316- void set aSetterWithFunctionParameter (bool fParam (int fParamA, String fParamB, String fParamC)) {}
1324+ void set aSetterWithFunctionParameter (
1325+ bool fParam (int fParamA, String fParamB, String fParamC)) {}
0 commit comments