Skip to content

Commit

Permalink
Fixes dart-lang#2576. Replace library augment by augment library
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov committed Mar 26, 2024
1 parent acb56cd commit ee31d6c
Show file tree
Hide file tree
Showing 52 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

/// @assertion It is a compile-time error if:
/// - The library referenced in an `import augment` directive is not an
/// augmentation and does not have a `library augment` directive.
/// augmentation and does not have a `augment library` directive.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `import augment` directive is not an does not have a `library augment`
/// in an `import augment` directive is not an does not have a `augment library`
/// directive
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

/// @assertion It is a compile-time error if:
/// - The library referenced in an `import augment` directive is not an
/// augmentation and does not have a `library augment` directive.
/// augmentation and does not have a `augment library` directive.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `import augment` directive is not an does not have a `library augment`
/// in an `import augment` directive is not an does not have a `augment library`
/// directive
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

/// @assertion It is a compile-time error if:
/// - The library referenced in an `import augment` directive is not an
/// augmentation and does not have a `library augment` directive.
/// augmentation and does not have a `augment library` directive.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `import augment` directive is not an does not have a `library augment`
/// in an `import augment` directive is not an does not have a `augment library`
/// directive. Test the case when referenced library is part of the main library
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

/// @assertion It is a compile-time error if:
/// - The library referenced in an `import augment` directive is not an
/// augmentation and does not have a `library augment` directive.
/// augmentation and does not have a `augment library` directive.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `import augment` directive is not an does not have a `library augment`
/// in an `import augment` directive is not an does not have a `augment library`
/// directive. Test the case when referenced library is part of the main library
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

/// @assertion It is a compile-time error if:
/// - The library referenced in an `import augment` directive is not an
/// augmentation and does not have a `library augment` directive.
/// augmentation and does not have a `augment library` directive.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `import augment` directive is not an does not have a `library augment`
/// in an `import augment` directive is not an does not have a `augment library`
/// directive. Test the case when a main library also imports the referenced one
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

/// @assertion It is a compile-time error if:
/// - The library referenced in an `import augment` directive is not an
/// augmentation and does not have a `library augment` directive.
/// augmentation and does not have a `augment library` directive.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `import augment` directive is not an does not have a `library augment`
/// in an `import augment` directive is not an does not have a `augment library`
/// directive. Test the case when a main library also imports the referenced one
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

/// @assertion It is a compile-time error if:
/// ...
/// - The library referenced in a `library augment` directive does not have an
/// - The library referenced in a `augment library` directive does not have an
/// `import augment` directive pointing back to this augmentation.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `library augment` directive is not an does not have a `import augment`
/// in an `augment library` directive is not an does not have a `import augment`
/// directive
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

/// @assertion It is a compile-time error if:
/// ...
/// - The library referenced in a `library augment` directive does not have an
/// - The library referenced in a `augment library` directive does not have an
/// `import augment` directive pointing back to this augmentation.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `library augment` directive does not have a `import augment` directive
/// in an `augment library` directive does not have a `import augment` directive
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A02_t01.dart';
augment library 'applying_augmentation_library_A02_t01.dart';
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

/// @assertion It is a compile-time error if:
/// ...
/// - The library referenced in a `library augment` directive does not have an
/// - The library referenced in a `augment library` directive does not have an
/// `import augment` directive pointing back to this augmentation.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `library augment` directive is not an does not have a `import augment`
/// in an `augment library` directive is not an does not have a `import augment`
/// directive pointing back to this augmentation.
/// @author sgrekhov22@gmail.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

/// @assertion It is a compile-time error if:
/// ...
/// - The library referenced in a `library augment` directive does not have an
/// - The library referenced in a `augment library` directive does not have an
/// `import augment` directive pointing back to this augmentation.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `library augment` directive is not an does not have a `import augment`
/// in an `augment library` directive is not an does not have a `import augment`
/// directive pointing back to this augmentation.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A02_t02.dart';
augment library 'applying_augmentation_library_A02_t02.dart';
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

/// @assertion It is a compile-time error if:
/// ...
/// - The library referenced in a `library augment` directive does not have an
/// - The library referenced in a `augment library` directive does not have an
/// `import augment` directive pointing back to this augmentation.
///
/// @description Check that it is a compile-time error if a library referenced
/// in an `library augment` directive is not an does not have a `import augment`
/// in an `augment library` directive is not an does not have a `import augment`
/// directive pointing back to this augmentation.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A02_t02.dart';
augment library 'applying_augmentation_library_A02_t02.dart';

// Another augmentation library of 'applying_augmentation_library_A02_t02.dart'
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A03_t01.dart';
augment library 'applying_augmentation_library_A03_t01.dart';
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A03_t02.dart';
augment library 'applying_augmentation_library_A03_t02.dart';
/**/library;
// ^^^^^^^
// [analyzer] unspecified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A04_t01.dart';
augment library 'applying_augmentation_library_A04_t01.dart';
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

// SharedOptions=--enable-experiment=macros

library augment 'applying_augmentation_library_A04_t02.dart';
augment library 'applying_augmentation_library_A04_t02.dart';
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A01_t01.dart';
augment library 'augmenting_types_A01_t01.dart';

augment mixin C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A01_t01.dart';
augment library 'augmenting_types_A01_t01.dart';

augment enum C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A01_t02.dart';
augment library 'augmenting_types_A01_t02.dart';

augment mixin CAlias {}
// ^^^^^^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A01_t02.dart';
augment library 'augmenting_types_A01_t02.dart';

augment enum CAlias {}
// ^^^^^^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t01.dart';
augment library 'augmenting_types_A02_t01.dart';

augment class C {} // Ok

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t02.dart';
augment library 'augmenting_types_A02_t02.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t03.dart';
augment library 'augmenting_types_A02_t03.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t04.dart';
augment library 'augmenting_types_A02_t04.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t05.dart';
augment library 'augmenting_types_A02_t05.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t06.dart';
augment library 'augmenting_types_A02_t06.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t07.dart';
augment library 'augmenting_types_A02_t07.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t08.dart';
augment library 'augmenting_types_A02_t08.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t09.dart';
augment library 'augmenting_types_A02_t09.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t10.dart';
augment library 'augmenting_types_A02_t10.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t11.dart';
augment library 'augmenting_types_A02_t11.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t12.dart';
augment library 'augmenting_types_A02_t12.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t13.dart';
augment library 'augmenting_types_A02_t13.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t14.dart';
augment library 'augmenting_types_A02_t14.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A02_t15.dart';
augment library 'augmenting_types_A02_t15.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A05_t01.dart';
augment library 'augmenting_types_A05_t01.dart';

augment class C {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A05_t02.dart';
augment library 'augmenting_types_A05_t02.dart';

augment class C<T extends B> {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A05_t03.dart';
augment library 'augmenting_types_A05_t03.dart';

augment class C<X extends A, Z> {}
// ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// SharedOptions=--enable-experiment=macros

library augment 'augmenting_types_A05_t04.dart';
augment library 'augmenting_types_A05_t04.dart';

augment class C1<T extends A> {
String get name1 => 'C1<$T>';
Expand Down
Loading

0 comments on commit ee31d6c

Please sign in to comment.