Skip to content

Commit

Permalink
#2559. Fix wrong assertion text in augmenting_constructors_A18_*.dart (
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov authored Nov 25, 2024
1 parent 4a925ad commit 7559f96
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has a super
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has a super
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is not an error to declare an augmenting
/// redirecting generative constructor more than once and the fully merged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if the augmented constructor has a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error if a merged constructor
/// is cyclic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error if a merged constructor
/// is cyclic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if an introductory constructor has a body
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error to declare an augmenting
/// redirecting generative constructor if an introductory constructor has a body
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error if a merged constructor
/// is cyclic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
/// @assertion Redirecting generative constructors
/// ...
/// It is a compile-time error if:
/// - The augmented factory constructor has a body, or it is redirecting.
/// - The augmented constructor has an initializer list or a body, or it has a
/// redirection.
///
/// @description Checks that it is a compile-time error if a merged constructor
/// is cyclic.
Expand Down

0 comments on commit 7559f96

Please sign in to comment.