Skip to content

Add more constant evaluation tests #2485

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
sgrekhov opened this issue Jan 15, 2024 · 0 comments
Closed

Add more constant evaluation tests #2485

sgrekhov opened this issue Jan 15, 2024 · 0 comments
Assignees

Comments

@sgrekhov
Copy link
Contributor

There are no co19 tests for constant expressions of the forms like e as T, e is T, e is! T etc. Note dart-lang/sdk#54620

@sgrekhov sgrekhov self-assigned this Jan 15, 2024
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 17, 2024
eernstg pushed a commit that referenced this issue Jan 17, 2024
Add tests about constants of the form `e as T`.
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Jan 19, 2024
2024-01-18 [email protected] dart-lang/co19#2477. Add test checking that an operator can be redeclared (dart-lang/co19#2495)
2024-01-18 [email protected] Fixes dart-lang/co19#2479. Delete outdated test co19/LibTest/ffi/sizeOf/sizeOf_A01_t02 (dart-lang/co19#2483)
2024-01-17 [email protected] dart-lang/co19#2485. Add constants `as T` tests (dart-lang/co19#2489)
2024-01-17 [email protected] dart-lang/co19#2477. Add more constant evaluation tests (dart-lang/co19#2484)
2024-01-17 [email protected] Fixes dart-lang/co19#2487. Add tests for type cast and type `void` (dart-lang/co19#2492)
2024-01-17 [email protected] Fixes dart-lang/co19#2486. `Pointer.elementAt` replaced by `+` operator (dart-lang/co19#2488)
2024-01-17 [email protected] Fixes dart-lang/co19#2491. Add test that an extension type cannot implement type `Never` (dart-lang/co19#2493)
2024-01-12 [email protected] dart-lang/co19#2477. Add match operators constants evaluation tests (dart-lang/co19#2482)

Change-Id: I1dee628d4685b0b24296aaabfcf4abcb659fa765
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347240
Reviewed-by: Alexander Thomas <[email protected]>
Reviewed-by: William Hesse <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 23, 2024
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 24, 2024
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 26, 2024
eernstg pushed a commit that referenced this issue Jan 26, 2024
Add `is! T` constant evaluation tests
eernstg pushed a commit that referenced this issue Jan 26, 2024
Add `is T` constant evaluation tests
eernstg pushed a commit that referenced this issue Jan 26, 2024
Add constant evaluation tests for `Set`
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Jan 26, 2024
2024-01-26 [email protected] dart-lang/co19#2485. Add constant evaluation tests for `Set` (dart-lang/co19#2509)
2024-01-26 [email protected] Fixes dart-lang/co19#2507. Fix roll failures (dart-lang/co19#2508)
2024-01-26 [email protected] dart-lang/co19#2485. Add is T constant evaluation tests (dart-lang/co19#2501)
2024-01-26 [email protected] dart-lang/co19#2485. Add `is! T` constant evaluation tests (dart-lang/co19#2504)
2024-01-25 [email protected] Fixes dart-lang/co19#2503. Update exhaustiveness_map_A02_t02.dart according to the flow analysis change (dart-lang/co19#2503)
2024-01-25 [email protected] dart-lang/co19#2420. Exhaustiveness variable tests. Add switch statement check (dart-lang/co19#2453)
2024-01-22 [email protected] dart-lang/co19#2485. Add more constant evaluation tests for record types (dart-lang/co19#2499)
2024-01-22 [email protected] dart-lang/co19#2420. Add more exhaustiveness tests (dart-lang/co19#2498)

Change-Id: If4af6cc1df4d44ad01e3578b8524748f67e7bac4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/348660
Commit-Queue: Erik Ernst <[email protected]>
Reviewed-by: Alexander Thomas <[email protected]>
Commit-Queue: Alexander Thomas <[email protected]>
Reviewed-by: Erik Ernst <[email protected]>
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Jan 30, 2024
eernstg pushed a commit that referenced this issue Jan 30, 2024
… for records (#2512)

Update map and list constant literals tests. Add parenthesized for records
Co-authored-by: Erik Ernst <[email protected]>: Typo: Added initializing expression to final top-level variable.
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 12, 2024
eernstg pushed a commit that referenced this issue Feb 12, 2024
…#2538)

Update`as` and `is` expressions tests with a function type
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
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
…nthesized for records (dart-lang#2512)

Update map and list constant literals tests. Add parenthesized for records
Co-authored-by: Erik Ernst <[email protected]>: Typo: Added initializing expression to final top-level variable.
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Feb 15, 2024
…tion type (dart-lang#2538)

Update`as` and `is` expressions tests with a function type
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
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
…nthesized for records (dart-lang#2512)

Update map and list constant literals tests. Add parenthesized for records
Co-authored-by: Erik Ernst <[email protected]>: Typo: Added initializing expression to final top-level variable.
sgrekhov added a commit to sgrekhov/co19 that referenced this issue Feb 15, 2024
…tion type (dart-lang#2538)

Update`as` and `is` expressions tests with a function type
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Feb 21, 2024
2024-02-20 [email protected] dart-lang/co19#2496. Add missing part file (dart-lang/co19#2552)
2024-02-20 [email protected] dart-lang/co19#2549. Update built-in identifier tests. Add missing ones. Part 2 (dart-lang/co19#2551)
2024-02-20 [email protected] dart-lang/co19#2549. Update built-in identifier tests. Add missing ones. Part 1 (dart-lang/co19#2550)
2024-02-19 [email protected] Fix dart-lang/co19#2546. Add constant context tests (dart-lang/co19#2547)
2024-02-15 [email protected] Fixes dart-lang/co19#2496. Fix co19 tests that became failing after test runner update (dart-lang/co19#2497)
2024-02-14 [email protected] dart-lang/co19#1400. Add cascade operator test and more constants tests (dart-lang/co19#2545)
2024-02-14 [email protected] dart-lang/co19#2350. Add more factory constructor tests (dart-lang/co19#2543)
2024-02-14 [email protected] dart-lang/co19#1400. Add representation variable initialization test (dart-lang/co19#2544)
2024-02-13 [email protected] dart-lang/co19#2119. Remove unsupported element from Stream.first/lastWhere tests description (dart-lang/co19#2540)
2024-02-13 [email protected] dart-lang/co19#2119. Remove unsupported element from ReceivePort.first/lastWhere tests description (dart-lang/co19#2541)
2024-02-13 [email protected] dart-lang/co19#2339. Add more tests for the extension method with the name `type` (dart-lang/co19#2542)
2024-02-12 [email protected] Fix dart-lang/co19#2535. Add patterns constants tests for extension types (dart-lang/co19#2539)
2024-02-12 [email protected] Fix dart-lang/co19#2485. Update`as` and `is` expressions tests with a function type (dart-lang/co19#2538)
2024-02-12 [email protected] Fix dart-lang/co19#2536. Fix use of HINT.UNREACHABLE_SWITCH_CASE (dart-lang/co19#2537)
2024-02-09 [email protected] dart-lang/co19#2119. Remove unused code, add issues numbers (dart-lang/co19#2534)
2024-02-09 [email protected] dart-lang/co19#2529. Fix failing API core tests (dart-lang/co19#2533)
2024-02-09 [email protected] dart-lang/co19#2529. Delete API tests with compile-time errors (dart-lang/co19#2531)
2024-02-09 [email protected] dart-lang/co19#2529. Fix and enable Iterable/forEach_A03_t01 (dart-lang/co19#2532)

Change-Id: I03e721d3871d5bf2b9773fbf7ebadb2a1804a111
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353260
Reviewed-by: Alexander Thomas <[email protected]>
Reviewed-by: Erik Ernst <[email protected]>
Commit-Queue: Alexander Thomas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant