Skip to content

Commit

Permalink
#2559. Update assertion text for for some of augmented expressions te…
Browse files Browse the repository at this point in the history
…sts (#3010)
  • Loading branch information
sgrekhov authored Dec 9, 2024
1 parent 486d45a commit 01e0678
Show file tree
Hide file tree
Showing 72 changed files with 288 additions and 216 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 01e0678

Please sign in to comment.