Skip to content

Commit 85341d1

Browse files
committed
#3182. Update augmenting_declarations_* tests
1 parent e3f7a71 commit 85341d1

10 files changed

+12
-10
lines changed

LanguageFeatures/Augmentations/applying_augmentations_A01_t01.dart renamed to LanguageFeatures/Augmentations/augmenting_declarations_A01_t07.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
/// @assertion It's a compile-time error if there is no matching declaration.
5+
/// @assertion It's a compile-time error if there is no matching declaration I.
6+
/// In other words, it's an error to have a declaration marked augment with no
7+
/// declaration to apply it to.
68
///
79
/// @description Checks that it is a compile-time error to augment a default
810
/// unnamed constructor (that doesn't exist during augmentation).

LanguageFeatures/Augmentations/augmenting_declarations_A02_t03_lib.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/// in a main library.
1717
/// @author [email protected]
1818
19-
// SharedOptions=--enable-experiment=macros
19+
// SharedOptions=--enable-experiment=augmentations
2020

2121
part of 'augmenting_declarations_A02_t03.dart';
2222

LanguageFeatures/Augmentations/augmenting_declarations_A05_t01.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t01.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1515

1616
import '../../Utils/expect.dart';
17-
part 'augmenting_declarations_A05_t01_lib.dart';
17+
part 'complete_declarations_A02_t01_lib.dart';
1818

1919
class C {
2020
String abstractMethod();

LanguageFeatures/Augmentations/augmenting_declarations_A05_t01_lib.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t01_lib.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1515

16-
part of 'augmenting_declarations_A05_t01.dart';
16+
part of 'complete_declarations_A02_t01.dart';
1717

1818
String _log = "";
1919

LanguageFeatures/Augmentations/augmenting_declarations_A05_t02.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t02.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1515

1616
import '../../Utils/expect.dart';
17-
part 'augmenting_declarations_A05_t02_lib.dart';
17+
part 'complete_declarations_A02_t02_lib.dart';
1818

1919
class C {
2020
static String abstractMethod();

LanguageFeatures/Augmentations/augmenting_declarations_A05_t02_lib.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t02_lib.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1515

16-
part of 'augmenting_declarations_A05_t02.dart';
16+
part of 'complete_declarations_A02_t02.dart';
1717

1818
String _log = "";
1919

LanguageFeatures/Augmentations/augmenting_declarations_A05_t03.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t03.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1515

16-
part 'augmenting_declarations_A05_t03_lib.dart';
16+
part 'complete_declarations_A02_t03_lib.dart';
1717

1818
class C {
1919
String abstractMethod();

LanguageFeatures/Augmentations/augmenting_declarations_A05_t03_lib.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t03_lib.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1515

16-
part of 'augmenting_declarations_A05_t03.dart';
16+
part of 'complete_declarations_A02_t03.dart';
1717

1818
augment class C {}
1919

LanguageFeatures/Augmentations/augmenting_declarations_A05_t04.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t04.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1616

17-
part 'augmenting_declarations_A05_t04_lib.dart';
17+
part 'complete_declarations_A02_t04_lib.dart';
1818

1919
class C {
2020
static String abstractMethod();

LanguageFeatures/Augmentations/augmenting_declarations_A05_t04_lib.dart renamed to LanguageFeatures/Augmentations/complete_declarations_A02_t04_lib.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
// SharedOptions=--enable-experiment=augmentations,enhanced-parts
1616

17-
part of 'augmenting_declarations_A05_t04.dart';
17+
part of 'complete_declarations_A02_t04.dart';
1818

1919
augment class C {}
2020

0 commit comments

Comments
 (0)