diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01.dart index 6e0fc38ce4..1a55f3f445 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to tear-off `augmented` /// expression inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib1.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib1.dart index 166b1948f2..8328846d2c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib1.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib1.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to tear-off `augmented` /// expression inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib2.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib2.dart index 4a589ad758..b0a26b3008 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib2.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t01_lib2.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to tear-off `augmented` /// expression inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02.dart index 072a6782f1..f7256d0d5a 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02_lib.dart index f5a2368894..7fb2677df1 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t02_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03.dart index 91c70e5815..e4ee9836f5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// function named `augmented()` inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03_lib.dart index 216d0ba2ff..1d1af1108c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t03_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// function named `augmented()` inside of an augmenting function diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04.dart index 217a1e630a..7df16fe8ba 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04_lib.dart index 85627f46df..32f93389e3 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t04_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05.dart index aefc8d0f8f..935553de3a 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05_lib.dart index 3bc1b9b26f..177a30570d 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t05_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06.dart index a90d08b4e7..a936c76537 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a list diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06_lib.dart index 0ce919a259..8bb4309068 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t06_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a list diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07.dart index 40bf47df0c..e43e04a01c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a map diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07_lib.dart index cc242c1513..2b2f396202 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t07_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a map diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08.dart index ea6bed9629..c8fea0d143 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a record diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08_lib.dart index 015abf795a..252d8ec4df 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t08_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test a record diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09.dart index 62d2643c1d..3c3d9fecd9 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test an object diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09_lib.dart index 4f405a3e19..9eb0b9c7ec 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t09_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare a local /// variable named `augmented` inside of an augmenting function. Test an object diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10.dart index 9c377211f8..8420c93ee8 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to declare a positional parameter named `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10_lib.dart index 2164e592a9..9cdfea8545 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t10_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to declare a positional parameter named `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11.dart index 0f370b8082..a3837aa918 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to declare a named parameter with the name `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11_lib.dart index b7bf8a1e3f..1390cb0063 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t11_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to declare a named parameter with the name `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12.dart index 55457df0b5..252139752f 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to declare an optional positional parameter with the name diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12_lib.dart index 07d75e9561..7d3f4e8f50 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t12_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to declare an optional positional parameter with the name diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13.dart index c482bc562a..1ac1816e5e 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a positional parameter a record with a positional field diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13_lib.dart index 11a15f1d72..fde997389d 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t13_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a positional parameter a record with a positional field diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14.dart index ccb7ca72ba..62e997628b 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a positional parameter a record with a named field with diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14_lib.dart index b36ca7e709..298304c76c 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t14_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a positional parameter a record with a named field diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15.dart index fd2be3dd70..73b2956efb 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as an optional positional parameter a record with a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15_lib.dart index 8293735e53..92608228a5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t15_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as an optional positional parameter a record with a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16.dart index 35a27f1e7c..2b7d022296 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as an optional positional parameter a record with a named diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16_lib.dart index dde4b89e6a..9dafdbfed5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t16_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as an optional positional parameter a record with a named diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17.dart index a87d83931f..2d2a18d677 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a named parameter a record with a positional field with diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17_lib.dart index b6f82cf50a..62210b1416 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t17_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a named parameter a record with a positional field with diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18.dart index 943aeb1b33..e0104cde6f 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a named parameter a record with a named field with the diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18_lib.dart index 6e0ca3d8a6..827535ca94 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t18_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a named parameter a record with a named field with the diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19.dart index 6a09b00674..cebac45738 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a parameter of a type whose name is `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19_lib.dart index 04ce4b660e..b72f863014 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t19_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error for an augmenting /// function to have as a parameter of a type whose name is `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20.dart index ef14f0f4e8..27fd3b4ed7 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a type whose name /// is `augmented` in an augmenting function body. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20_lib.dart index 033c5e2d78..95dba53b5b 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t20_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a type whose name /// is `augmented` in an augmenting function body. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21.dart index 3ccb43d569..4c2b0a9783 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a type whose name /// is `augmented` in an augmenting function return type. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21_lib.dart index 3a68107967..99695aeb71 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t21_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a type whose name /// is `augmented` in an augmenting function return type. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22.dart index fd50339156..4363c51a83 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to augment a function /// whose name is `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22_lib.dart index fbda5004c1..52a552c4aa 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t22_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to augment a function /// whose name is `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23.dart index cd518ae128..e76f896932 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to call a function with /// a named parameter whose name is `augmented` in a body of an augmenting diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23_lib.dart index 05ebc70552..a5c9838d30 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t23_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to call a function with /// a named parameter whose name is `augmented` in a body of an augmenting diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24.dart index d1656f6682..f09409cfcb 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a record with /// a named parameter whose name is `augmented` in a body of an augmenting diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24_lib.dart index 0889f4b16b..1ba58d8973 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t24_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a record with /// a named parameter whose name is `augmented` in a body of an augmenting diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25.dart index 6ecb64dc7b..80aadb60c2 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25_lib.dart index 45cac86ad6..f3c0f7e4bb 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t25_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26.dart index 82eab23d97..4673e37612 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function with appropriate default values. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26_lib.dart index 437b0dc415..b59b4f151d 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t26_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function with appropriate default values. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27.dart index 08c32a83ec..14a78cd6b1 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. Test different parameters. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27_lib.dart index 67bf7fb06e..1e6478ed3a 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t27_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function with appropriate default values. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28.dart index 0c7d0659e6..9137f077b5 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error if within an augmenting /// function `augmented()` is invoked with actual parameters that don't match diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28_lib.dart index 5e3408bee2..ce1ccf12d6 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t28_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error if within an augmenting /// function `augmented()` is invoked with actual parameters that don't match diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29.dart index a4c4e8300a..c60c8f1c69 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. Test a local function. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29_lib.dart index 7dc25aa154..38c6e6af77 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t29_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. Test a local function. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30.dart index b9555e1ee9..67640d8c57 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. Test a function literal. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30_lib.dart index 4e84e31206..e38a21a785 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t30_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function. Test a function literal. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31.dart index 8406a73f81..85d6dd830f 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use `augmented` as a /// constant value in a switch expressions and statements. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31_lib.dart index 917c6c9334..3c5a52a81d 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t31_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use `augmented` as a /// constant value in a switch expressions and statements. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32.dart index c5422b0414..5a6fe153dc 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function with appropriate default values. Test the case when a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib1.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib1.dart index 2692c79e03..895fd132e2 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib1.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib1.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function with appropriate default values. Test the case when a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib2.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib2.dart index a4cef37c52..f6678b5b18 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib2.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t32_lib2.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that within an augmenting function `augmented()` invokes /// the augmented function with appropriate default values. Test the case when a diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33.dart index cebca50617..c467741a87 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare an augmenting /// function with `augmented` as a type bound. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33_lib.dart index 08fc22c289..f70c772d29 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t33_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to declare an augmenting /// function with `augmented` as a type bound. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34.dart index aba9219be2..46775084f4 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a type whose name /// is `augmented` in `is` and `as` expressions. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34_lib.dart index 8c1f38d9a0..6dbf77f1dd 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t34_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it is a compile-time error to use a type whose name /// is `augmented` in `is` and `as` expressions. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35.dart index 9c0a139247..c0637d7aa8 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it's not an error to augment a function whose /// default value of a formal parameter is a constant with the name `augmented`. diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35_lib.dart index abf928ab5b..9c85a596a7 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A04_t35_lib.dart @@ -6,9 +6,10 @@ /// being augmented, but it generally follows the same rules as any normal /// identifier: /// ... -/// - Augmenting functions: When augmenting a function, `augmented` refers to -/// the augmented function. Tear offs are not allowed, so this function must -/// immediately be invoked. +/// - Augmenting functions: Inside an augmenting function body (including +/// factory constructors but not generative constructors) `augmented` refers +/// to the augmented function. Tear-offs are not allowed, and this function +/// must immediately be invoked. /// /// @description Checks that it's not an error to augment a function whose /// default value of a formal parameter is a constant with the name `augmented`.