diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01.dart index a9b22d047f..225c774cdd 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01.dart @@ -4,8 +4,9 @@ /// @assertion It is a compile-time error if: /// ... -/// - The resulting constructor is not valid (has a redirecting initializer and -/// other initializers, multiple super initializers, etc). +/// - The resulting constructor is not valid (it has a redirection as well as +/// some initializer list elements, or it has multiple `super` initializers, +/// etc). /// /// @description Checks that it is a compile-time error if the resulting /// constructor has a redirecting initializer and other initializers. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01_lib.dart index d17f573d7a..98f6306e1c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A06_t01_lib.dart @@ -4,8 +4,9 @@ /// @assertion It is a compile-time error if: /// ... -/// - The resulting constructor is not valid (has a redirecting initializer and -/// other initializers, multiple super initializers, etc). +/// - The resulting constructor is not valid (it has a redirection as well as +/// some initializer list elements, or it has multiple `super` initializers, +/// etc). /// /// @description Checks that it is a compile-time error if the resulting /// constructor has a redirecting initializer and other initializers. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01.dart index e6580b290a..94fc1977f7 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01.dart @@ -3,9 +3,9 @@ // BSD-style license that can be found in the LICENSE file. /// @assertion A non-redirecting generative constructor marked `augment` may: -/// - Add or replace the body of the augmented constructor with a new body. -/// - If the augmenting constructor has an explicit block body, then that body -/// replaces any existing constructor body. +/// ... +/// - If the augmenting constructor has an explicit block body, then that body +/// replaces any existing constructor body. /// /// @description Checks that if the augmenting constructor has an explicit block /// body, then that body replaces any existing constructor body. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01_lib.dart index 2839810193..08a9eb7a45 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t01_lib.dart @@ -3,9 +3,9 @@ // BSD-style license that can be found in the LICENSE file. /// @assertion A non-redirecting generative constructor marked `augment` may: -/// - Add or replace the body of the augmented constructor with a new body. -/// - If the augmenting constructor has an explicit block body, then that body -/// replaces any existing constructor body. +/// ... +/// - If the augmenting constructor has an explicit block body, then that body +/// replaces any existing constructor body. /// /// @description Checks that if the augmenting constructor has an explicit block /// body, then that body replaces any existing constructor body. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02.dart index 1a613b4dd4..ca82545ecb 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02.dart @@ -4,8 +4,6 @@ /// @assertion A non-redirecting generative constructor marked `augment` may: /// - Add or replace the body of the augmented constructor with a new body. -/// - If the augmenting constructor has an explicit block body, then that body -/// replaces any existing constructor body. /// /// @description Checks that an augmenting constructor may add a body to an /// augmented constructor. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02_lib.dart index f4f7e6019f..58d9b6c728 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t02_lib.dart @@ -4,8 +4,6 @@ /// @assertion A non-redirecting generative constructor marked `augment` may: /// - Add or replace the body of the augmented constructor with a new body. -/// - If the augmenting constructor has an explicit block body, then that body -/// replaces any existing constructor body. /// /// @description Checks that an augmenting constructor may add a body to an /// augmented constructor. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03.dart index 4d588230c5..4b4b465ddd 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03.dart @@ -4,8 +4,6 @@ /// @assertion A non-redirecting generative constructor marked `augment` may: /// - Add or replace the body of the augmented constructor with a new body. -/// - If the augmenting constructor has an explicit block body, then that body -/// replaces any existing constructor body. /// /// @description Checks that it is a compile-time error to augment a default /// unnamed constructor (that doesn't exist during augmentation). diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03_lib.dart index 5854d9c541..3ed7718cb5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_constructors_A09_t03_lib.dart @@ -4,8 +4,6 @@ /// @assertion A non-redirecting generative constructor marked `augment` may: /// - Add or replace the body of the augmented constructor with a new body. -/// - If the augmenting constructor has an explicit block body, then that body -/// replaces any existing constructor body. /// /// @description Checks that it is a compile-time error to augment a default /// unnamed constructor (that doesn't exist during augmentation). diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01.dart index 90b195165d..5926b7764e 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a top-level function /// `augmented()` expression executes the original function body. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01_lib.dart index 5d1dabc052..e3f5e6b2c5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t01_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a top-level function /// `augmented()` expression executes the original function body. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02.dart index 3db8a026c9..70a735b831 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test a class. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02_lib.dart index abab9fba05..367624407b 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t02_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test a class. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03.dart index 87451727b8..d6aad37876 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test a mixin. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03_lib.dart index b71a9bc889..4450ffdfbf 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t03_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test a mixin. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04.dart index 7dd8f25df6..01d96886e7 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test an enum. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04_lib.dart index fc0199b646..85beb69542 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t04_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test an enum. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05.dart index 68c46b11f3..ebe7135553 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05_lib.dart index a6d8c1991e..548dd1e21f 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t05_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06.dart index 64c9036e9d..3c4baa50da 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06_lib.dart index a8efe6c401..373b811e31 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t06_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of a static method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07.dart index 238c89485d..37b23d98ba 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test a class. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07_lib.dart index f1a89e50cc..f6edcdce2a 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t07_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test a class. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08.dart index 60d1ad5ed5..13f339e33a 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test a mixin. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08_lib.dart index 841973bd7d..6ca2d44d93 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t08_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test a mixin. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09.dart index f057b139f8..c250238347 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test an enum. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09_lib.dart index 561ac40b3d..9c2259779c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t09_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test an enum. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10.dart index 473d569082..69c5b4915c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10_lib.dart index 825552a0b9..37578b2bf5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t10_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11.dart index f7891947b7..ab5648b0f3 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11_lib.dart index 1954ca8d18..a86bca57e8 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t11_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an instance method /// `augmented()` expression executes the original method body. Test an diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12.dart index f894b81188..a4f9c70d76 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an operator /// `augmented` expression executes the body of the original operator. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12_lib.dart index 4a524835be..7161974fc9 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_functions_A02_t12_lib.dart @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// @assertion Inside the augmentation body, a special `augmented()` expression -/// may be used to execute the original function body. That expression takes an -/// argument list matching the original function's parameter list and returns -/// the function's return type. +/// @assertion Inside the augmenting function’s body, a special `augmented(…)` +/// expression may be used to execute the augmented function body. That +/// expression takes an argument list matching the augmented function's +/// parameter list, and it has the same return type as the enclosing function. /// /// @description Checks that inside an augmentation body of an operator /// `augmented` expression executes the body of the original operator. diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_members_A10_t03_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_members_A10_t03_lib.dart index 8030eaf8bb..917b68ec6c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_members_A10_t03_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_members_A10_t03_lib.dart @@ -4,8 +4,7 @@ /// @assertion It is a compile-time error if: /// ... -/// An `external` declaration is augmented with an abstract declaration. For -/// variables this also applies to the implicit getter and setter. +/// An `external` variable is augmented with an abstract variable. /// /// @description Checks that that it is not an error if an `external` /// member is augmented with an abstract one.