Skip to content

[Records] Co19 tests - add tests #1399

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

Closed
itsjustkevin opened this issue Aug 19, 2022 · 12 comments
Closed

[Records] Co19 tests - add tests #1399

itsjustkevin opened this issue Aug 19, 2022 · 12 comments
Assignees
Labels
type-enhancement A request for a change that isn't a bug

Comments

@itsjustkevin
Copy link

No description provided.

@sgrekhov sgrekhov added type-enhancement A request for a change that isn't a bug closed-duplicate Closed in favor of an existing report and removed type-enhancement A request for a change that isn't a bug labels Aug 22, 2022
@sgrekhov
Copy link
Contributor

Closing as a duplicate of #1393

@itsjustkevin
Copy link
Author

@sgrekhov can you add your issue to the project instead of closing it out as a duplicate? We would still like to track the work being done.

@sgrekhov sgrekhov added type-enhancement A request for a change that isn't a bug and removed closed-duplicate Closed in favor of an existing report labels Aug 24, 2022
@sgrekhov sgrekhov reopened this Aug 24, 2022
@sgrekhov
Copy link
Contributor

@itsjustkevin sorry. I'll go on the work using this issue and close the previous one

sgrekhov added a commit to sgrekhov/co19 that referenced this issue Aug 25, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Aug 30, 2022
eernstg pushed a commit that referenced this issue Aug 30, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Aug 31, 2022
eernstg pushed a commit that referenced this issue Aug 31, 2022
Authored by @sgrekhov.

Subtyping tests for records added.
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 1, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 1, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 1, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 2, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 2, 2022
chloestefantsova pushed a commit that referenced this issue Sep 2, 2022
#1415)

* #1399. [Records] Type annotations and record expressions tests updated to the current spec

* #1399. [Records] More type annotations and record expressions tests added
eernstg pushed a commit that referenced this issue Sep 2, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 5, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Sep 6, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Oct 12, 2022
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Oct 24, 2022
2022-10-21 [email protected] Fixes dart-lang/co19#1511. [Records] Remove `records` experimental flag from legacy libraries (dart-lang/co19#1512)
2022-10-21 [email protected] Fixes dart-lang/co19#1477. [Records] Type inference tests updated (dart-lang/co19#1500)
2022-10-21 [email protected] Fixes dart-lang/co19#1505. [Records] Added tests for dynamic access to record fields (dart-lang/co19#1507)
2022-10-19 [email protected] dart-lang/co19#1399. [Records] Interaction with legacy tests added (dart-lang/co19#1502)
2022-10-19 [email protected] dart-lang/co19#195. Typos fixed (dart-lang/co19#1508)
2022-10-19 [email protected] dart-lang/co19#993. [ffi] nullptr test added (dart-lang/co19#1506)
2022-10-14 [email protected] Fix typos (dart-lang/co19#1504)
2022-10-12 [email protected] Fixes dart-lang/co19#1427. Expando tests added (dart-lang/co19#1479)
2022-10-12 [email protected] dart-lang/co19#1399. [Records] More members tests added (dart-lang/co19#1501)
2022-10-12 49699333+dependabot[bot]@users.noreply.github.com Bump actions/checkout from 3.0.2 to 3.1.0 (dart-lang/co19#1499)
2022-10-11 [email protected] dart-lang/co19#1400. [Views] Syntax tests added (dart-lang/co19#1498)
2022-10-07 [email protected] Fixes dart-lang/co19#1491. Use correct record type in 'as' expression (dart-lang/co19#1497)
2022-10-07 [email protected] Fixes dart-lang/co19#1489. Don't use '?' in expressions (dart-lang/co19#1495)
2022-10-07 [email protected] Fixes dart-lang/co19#1488. Use correct record types (dart-lang/co19#1493)
2022-10-07 [email protected] Fixes dart-lang/co19#1490. Missing parameters names added (dart-lang/co19#1496)

Change-Id: I6d26701ee14a0c7820e3c3094d7d850c0f914028
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265087
Reviewed-by: Alexander Thomas <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Oct 24, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Oct 24, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Oct 24, 2022
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Oct 25, 2022
eernstg pushed a commit that referenced this issue Oct 26, 2022
#1513)

Authored by @sgrekhov.

Adjusting record tests. Object member names are not allowed for positional fields names. Missing parameters names added, run-time types fixed.
@sgrekhov
Copy link
Contributor

Spec was changed (Ambiguity with metadata annotations added), need to update tests accordingly

@sgrekhov sgrekhov reopened this Oct 27, 2022
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Oct 27, 2022
2022-10-26 [email protected] dart-lang/co19#1399. Object member names are not allowed for positional fields names (dart-lang/co19#1513)
2022-10-25 [email protected] dart-lang/co19#1516.  [Records] Experimental flags added to legacy libraries (dart-lang/co19#1519)
2022-10-25 49699333+dependabot[bot]@users.noreply.github.com Bump actions/setup-java from 3.5.1 to 3.6.0 (dart-lang/co19#1517)
2022-10-24 [email protected] Fixes dart-lang/co19#1428. Subtyping. Unused variables removed from generated tests (dart-lang/co19#1514)
2022-10-24 [email protected] dart-lang/co19#1328. Excessive 'forgetType()' removed from arguments_binding_... tests (dart-lang/co19#1503)

Change-Id: I2f3b05ceaa4d0f899f5f107abd892fa73c76d62b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/266040
Reviewed-by: Alexander Thomas <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Oct 27, 2022
eernstg pushed a commit that referenced this issue Oct 31, 2022
… fields (#1518)

Authored by @sgrekhov.

Use a record with a large number of positional fields.
@sgrekhov sgrekhov closed this as completed Nov 2, 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
…1524)

Authored by @sgrekhov.

Add tests for ambiguity with metadata annotations.
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]>
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Nov 15, 2022
2022-11-08 [email protected] dart-lang/co19#1401. [Patterns] relational pattern tests added (dart-lang/co19#1535)
2022-11-08 [email protected] Fixes dart-lang/co19#1529. Fix record's fields name collision (dart-lang/co19#1532)
2022-11-07 [email protected] dart-lang/co19#1399. [Records] Check corner case with trailing zeros for positional field getter (dart-lang/co19#1515)
2022-11-07 [email protected] dart-lang/co19#1399. [Records] Tests for ambiguity with metadata annotations added (dart-lang/co19#1524)
2022-11-07 [email protected] dart-lang/co19#1401. [Patterns] logical-and pattern tests added (dart-lang/co19#1534)
2022-11-07 [email protected] Fixes dart-lang/co19#1530. Use correct record type (dart-lang/co19#1531)

Change-Id: I90052b87645f077959c433b823665355880b8cd3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269302
Reviewed-by: Alexander Thomas <[email protected]>
Commit-Queue: Alexander Thomas <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Dec 2, 2022
…ecords to still be able to see the Record class in "dart:core"
eernstg pushed a commit that referenced this issue Feb 17, 2023
… still be able to see the Record class in "dart:core" (#1571)
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Feb 21, 2023
2023-02-17 [email protected] dart-lang/co19#1399. [Records] Allow legacy libraries that don't support records to still be able to see the Record class in "dart:core" (dart-lang/co19#1571)
2023-02-17 [email protected] dart-lang/co19#1860. Fix type_inference_A12_t01.dart. Don't expect warning (dart-lang/co19#1862)
2023-02-17 [email protected] Fixes dart-lang/co19#1860. Fix roll failures (dart-lang/co19#1861)
2023-02-16 [email protected] dart-lang/co19#1401. Calculating the static type of the pattern tests added (dart-lang/co19#1847)
2023-02-16 [email protected] dart-lang/co19#1401. Shared case scope test with labels and default case added (dart-lang/co19#1858)
2023-02-15 [email protected] Fixes dart-lang/co19#1837. Add additional unnecessary null-ckeck warnings (dart-lang/co19#1842)

Change-Id: I3a1f5deafd4f2868574f085495417ed37fe845b9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284080
Reviewed-by: Alexander Thomas <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 30, 2024
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 30, 2024
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Feb 5, 2024
2024-02-02 [email protected] Fix dart-lang/co19#2517. Fix wrong test, add experimental flags (dart-lang/co19#2518)
2024-02-02 [email protected] Fix dart-lang/co19#2490. Update incompatible with await tests according to the changed rule (dart-lang/co19#2516)
2024-02-01 [email protected] dart-lang/co19#2420. Add more exhaustiveness tests (dart-lang/co19#2513)
2024-01-31 [email protected] dart-lang/co19#2446. Add additional test for cast pattern (dart-lang/co19#2514)
2024-01-30 [email protected] dart-lang/co19#1399. Add more tests for records (dart-lang/co19#2511)
2024-01-30 [email protected] dart-lang/co19#2485. Update map and list constant literals tests. Add parenthesized for records (dart-lang/co19#2512)
2024-01-29 [email protected] Fixes dart-lang/co19#2490. Add more await tests for extension types (dart-lang/co19#2500)
2024-01-29 [email protected] dart-lang/co19#2119. Fix typo in Subtyping tests description (dart-lang/co19#2510)
2024-01-29 [email protected] Fixes dart-lang/co19#2505. Add more tests for `call` member (dart-lang/co19#2506)
2024-01-29 [email protected] dart-lang/co19#2420. Add cast-pattern tests for extension types (dart-lang/co19#2458)

Change-Id: I631705a013f9a77910ae0f0be5a9fea01e7c719f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/350240
Reviewed-by: Erik Ernst <[email protected]>
Commit-Queue: Erik Ernst <[email protected]>
Reviewed-by: William Hesse <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Feb 15, 2024
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants