-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Patterns] Co19 tests - add tests #1401
Labels
type-enhancement
A request for a change that isn't a bug
Comments
@itsjustkevin @eernstg is this a right feature specification link for Patterns? https://github.com/dart-lang/language/blob/master/working/0546-patterns/patterns-feature-specification.md |
Yes! |
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Oct 25, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Oct 26, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Oct 26, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Oct 31, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 3, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 3, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 3, 2022
eernstg
pushed a commit
that referenced
this issue
Nov 3, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 4, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 7, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 7, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 7, 2022
eernstg
pushed a commit
that referenced
this issue
Nov 7, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 7, 2022
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Nov 7, 2022
2022-11-03 [email protected] dart-lang/co19#1401. [Patterns] Logical-or tests added (dart-lang/co19#1520) 2022-11-02 [email protected] Fixes dart-lang/co19#1528. Update on clauses ambiguity tests (dart-lang/co19#1533) 2022-10-31 [email protected] dart-lang/co19#1399. [Records] Check a big record with a large number of positional fields (dart-lang/co19#1518) Change-Id: I7d87440512113230d5d8af2737684074e6906711 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/267825 Reviewed-by: Alexander Thomas <[email protected]>
chloestefantsova
pushed a commit
that referenced
this issue
Nov 8, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 8, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 8, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 8, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 9, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 9, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 10, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 10, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 10, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 10, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Nov 11, 2022
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Mar 23, 2023
2023-03-23 [email protected] Roll failures fixed (dart-lang/co19#1962) 2023-03-23 [email protected] Fixes dart-lang/co19#1937. Add `@dart=2.19` to class implementing `LinkedHashSet` (dart-lang/co19#1961) 2023-03-23 [email protected] dart-lang/co19#1874. Update LanguageFeatures/nnbd/weak/overriding tests to work with class modifiers (dart-lang/co19#1960) 2023-03-22 [email protected] Minor fixes to execution_pattern_for_in_{element,statement}_A01_t01 (dart-lang/co19#1958) 2023-03-22 [email protected] dart-lang/co19#1401. Tests for invocation keys (dart-lang/co19#1950) 2023-03-22 [email protected] Fixes dart-lang/co19#1951. Don't use fixed port number (dart-lang/co19#1952) 2023-03-22 [email protected] Fixes dart-lang/co19#1955. Use non-matching rest elements in matching_list_A02_t01.dart (dart-lang/co19#1957) 2023-03-22 [email protected] Fixes dart-lang/co19#1940. Add `final` modifier to classes extending `Struct` and `Union` (dart-lang/co19#1956) 2023-03-21 [email protected] Fixes dart-lang/co19#1928. Replace `extends Iterator` by `implements Iterator` (dart-lang/co19#1953) 2023-03-21 [email protected] Fixes dart-lang/co19#1944. Replace `extends StreamSubscription` by `implements StreamSubscription` (dart-lang/co19#1954) 2023-03-20 [email protected] Fixes dart-lang/co19#1946. Duplicated test removed (dart-lang/co19#1948) 2023-03-20 [email protected] Fixes dart-lang/co19#1947. Move nnbd-strong runtime checks in a separate test (dart-lang/co19#1949) 2023-03-20 [email protected] dart-lang/co19#1401. Matching tests for map pattern (dart-lang/co19#1929) 2023-03-17 [email protected] dart-lang/co19#1401. Call insertions tests added (dart-lang/co19#1945) Change-Id: I27c375f32b02e8bea78562adb58ef5da1b629a45 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290764 Reviewed-by: Alexander Thomas <[email protected]>
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Mar 24, 2023
Reopened. Spec for exaustiveness is ready for testing. Need to add appropriate tests |
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Mar 29, 2023
eernstg
pushed a commit
that referenced
this issue
Mar 30, 2023
Add tests about If- and for-elements for maps and sets
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Mar 31, 2023
2023-03-30 [email protected] Fixes dart-lang/co19#1964. Split matching_map_A01_t01.dart into two tests. The second one is for sound nullability only (dart-lang/co19#1965) 2023-03-30 [email protected] dart-lang/co19#1401. If- and for-elements tests for maps and sets added (dart-lang/co19#1967) 2023-03-30 [email protected] Remove ProcessInfo constructor test (dart-lang/co19#1975) 2023-03-29 49699333+dependabot[bot]@users.noreply.github.com Bump actions/setup-java from 3.10.0 to 3.11.0 (dart-lang/co19#1971) 2023-03-29 49699333+dependabot[bot]@users.noreply.github.com Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/co19#1970) 2023-03-28 [email protected] Fixes dart-lang/co19#1972. Add nnbd-strong flag to some map-pattern runtime tests (dart-lang/co19#1973) 2023-03-27 [email protected] Fix IntPtrArray_A01_t01.dart. Remove platform-depended code (dart-lang/co19#1969) Change-Id: I23b05e414ef7517ee198e426fbf9b85165ce89b5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292300 Reviewed-by: Alexander Thomas <[email protected]>
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Mar 31, 2023
eernstg
pushed a commit
that referenced
this issue
Mar 31, 2023
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Apr 4, 2023
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Apr 4, 2023
2023-04-04 [email protected] Fixes dart-lang/co19#1985. Roll failures fixed (dart-lang/co19#1986) 2023-04-04 [email protected] Fixes dart-lang/co19#1983. Typo fixed in type_inference_A22_t01.dart (dart-lang/co19#1984) 2023-04-03 [email protected] Fixes dart-lang/co19#1978. Add processing of HINT.UNREACHABLE_SWITCH_CASE (dart-lang/co19#1982) 2023-04-03 [email protected] dart-lang/co19#1401. Exhaustiveness tests added (dart-lang/co19#1974) 2023-03-31 [email protected] Fixes dart-lang/co19#1976. Runtime errors fixed (dart-lang/co19#1981) 2023-03-31 [email protected] Fixes dart-lang/co19#1976. Update map pattern tests according to the new matching rules (dart-lang/co19#1977) 2023-03-31 [email protected] dart-lang/co19#1401. Additional test for the rest element of a list pattern (dart-lang/co19#1980) Change-Id: I5be25e8f96d081028d68b5086c33b7432f1c8a66 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292883 Commit-Queue: Erik Ernst <[email protected]> Reviewed-by: Erik Ernst <[email protected]>
eernstg
pushed a commit
that referenced
this issue
Apr 4, 2023
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Apr 5, 2023
2023-04-05 [email protected] Fixes dart-lang/co19#1988. Typo in exhaustiveness_A01_t17.dart fixed (dart-lang/co19#1992) 2023-04-05 [email protected] Fixes dart-lang/co19#1989. Typo in object_A03_t01.dart fixed (dart-lang/co19#1993) 2023-04-04 [email protected] dart-lang/co19#1401. Exhaustiveness algorithm tests (dart-lang/co19#1987) Change-Id: I89642761f4ff746dfdaba7d586f6c5c1a5e2158a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/293540 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Erik Ernst <[email protected]> Auto-Submit: Erik Ernst <[email protected]>
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Apr 6, 2023
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Apr 6, 2023
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Apr 7, 2023
eernstg
pushed a commit
that referenced
this issue
Apr 11, 2023
Update and fix exhaustiveness tests. In particular, test exhaustiveness of custom classes that implement `List`, including implementations whose `length` can be negative.
Completed |
Thump! says the big door as it is closed. Thanks for the great work on creating all those tests! |
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Apr 14, 2023
2023-04-11 [email protected] dart-lang/co19#1401. Exhaustiveness tests fixed and new ones added (dart-lang/co19#2019) 2023-04-11 [email protected] Fixes dart-lang/co19#2006. `Pointer` can have top types as type arguments (dart-lang/co19#2013) 2023-04-11 [email protected] Fixes dart-lang/co19#2010. Fix exhaustiveness tests for a cast-pattern (dart-lang/co19#2018) 2023-04-07 [email protected] Fixes dart-lang/co19#2004. Update expected errors locations for CFE (dart-lang/co19#2011) 2023-04-07 [email protected] Fixes dart-lang/co19#2005. DynamicLibrary.process() is supported on Windows (dart-lang/co19#2012) 2023-04-07 [email protected] Fixes dart-lang/co19#2007. Fix UintPtr_A01_t01.dart not to fail on 32-bit platforms (dart-lang/co19#2014) 2023-04-07 [email protected] Fixes dart-lang/co19#2008. Split pattern_context_A01_t01.dart test to multiple methods (dart-lang/co19#2015) 2023-04-07 [email protected] Fixes dart-lang/co19#2009. Update scope_A01_t01.dart according to the current CFE behavior (dart-lang/co19#2016) Change-Id: I5b43a5c5f133dded30564749b38f6a0c965b62fe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/295281 Reviewed-by: Alexander Thomas <[email protected]>
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
May 1, 2023
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
May 2, 2023
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
May 3, 2023
eernstg
pushed a commit
that referenced
this issue
May 3, 2023
Add async for-in tests. Note that some tests contain syntax errors intentionally, which cases the spec_parser run to fail.
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
May 4, 2023
2023-05-04 [email protected] Fixes dart-lang/co19#2034. Fix roll failures, add issues numbers (dart-lang/co19#2035) 2023-05-03 [email protected] dart-lang/co19#1401. Async for-in tests for patterns (dart-lang/co19#2032) 2023-04-28 [email protected] dart-lang/co19#1959. Grammar tests added (dart-lang/co19#2031) 2023-04-28 [email protected] dart-lang/co19#1959. Versioning tests added (dart-lang/co19#2029) Change-Id: Ic29913ebd7260c4069e6baa27a797219ce12d956 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/301440 Reviewed-by: Alexander Thomas <[email protected]>
eernstg
pushed a commit
that referenced
this issue
May 8, 2023
Async for-in element tests added. Note that LanguageFeatures/Patterns/execution_pattern_await_for_in_element_A02_t0{1,2,3}.dart contain intentional syntax errors.
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
May 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: