Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1636. Missed records experimental flag added to some patterns tests #1642

Merged
merged 1 commit into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t07.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// patterns. Test switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// patterns. Test if-case statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// patterns. Test switch expression
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t10.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// constant patterns. Test switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t11.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// constant patterns. Test if-case statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t12.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// constant patterns. Test switch expressions
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t17.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// if-case statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t18.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// switch expressions
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t20.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// constant is prefixed by '-'. Test named constants with a library prefix
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t22.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// constant is prefixed by '-'. Test static constants in a perfixed library
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/list_A05_t06.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// pattern
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart" as p;
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/list_A05_t11.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// pattern
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
1 change: 0 additions & 1 deletion LanguageFeatures/Patterns/logical_and_A02_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

// SharedOptions=--enable-experiment=patterns

import "patterns_lib.dart";
import "../../Utils/expect.dart";

void test(int value, bool match) {
Expand Down
1 change: 0 additions & 1 deletion LanguageFeatures/Patterns/logical_and_A03_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

// SharedOptions=--enable-experiment=patterns

import "patterns_lib.dart";
import "../../Utils/expect.dart";

bool test(int value) {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_and_A05_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/// logical-and pattern define overlapping sets of variables
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_and_A06_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/// is not evaluated
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A02_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// @description Checks logical-or pattern in a switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A03_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// @description Checks logical-or pattern in an if-case statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A04_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// logical-or pattern define different sets of variables. Test switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A04_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// expression
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A04_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A05_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// evaluated. Test switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A05_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// branch is evaluated. Test switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A05_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// evaluated. Test if-case statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A05_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// branch is evaluated. Test if-case statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A05_t05.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// evaluated. Test switch expression
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/logical_or_A05_t06.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// branch is evaluated. Test switch expression
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t05.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t06.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t07.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t10.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A01_t12.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A02_t08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// variable subpattern in a declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A02_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// error
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A02_t10.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// subpattern in a declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A02_t11.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// null-assert subpattern in a declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/expect.dart";
import "patterns_lib.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A04_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/// is present and does not match the arity of the type of typeName.
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A07_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/// switch statement
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/object_A07_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/// declaration context
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/variable_A02_t06.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/// the pattern matches values of the appropriate type only. Test Object pattern
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "../../Utils/static_type_helper.dart";
import "../../Utils/expect.dart";
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/variable_A03_t05.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/// pattern
/// @author [email protected]

// SharedOptions=--enable-experiment=patterns
// SharedOptions=--enable-experiment=patterns,records

import "patterns_lib.dart";

Expand Down
Loading