dart-sdk/tests
Daco Harkes 8218ee0840 [cfe/ffi] Fix Finalizable in for( in ) loops
The `Finalizable` visitor was visiting for-in loops in AST order:
(1) variable, (2) iterable, (3) body. This caused the `variable` to be
fenced in the `iterable` expression. The `variable` should only be
fenced in the `body`.

TEST=tests/ffi/regress_51538_test.dart
TEST=pkg/vm/test/transformations/ffi_test.dart
     with pkg/vm/testcases/transformations/ffi/regress_51538.dart

Closes: https://github.com/dart-lang/sdk/issues/51538
Change-Id: Idacf87b6de3ee0d2d5c6c5046060c55135593fed
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286182
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2023-03-02 09:05:19 +00:00
..
co19 [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
co19_2 [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
corelib Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
corelib_2 [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
dartdevc [test_runner] Unify name for passing DDC options 2023-02-14 20:13:57 +00:00
dartdevc_2 [test_runner] Add new name for ddc compiler 2023-02-09 18:32:58 +00:00
ffi [cfe/ffi] Fix Finalizable in for( in ) loops 2023-03-02 09:05:19 +00:00
ffi_2 [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
language Issue 51567. Implement constant equality as primitive equality 2023-03-01 20:58:57 +00:00
language_2 [tests] Fix expectations in language/async_star/async_star_await_for_test 2023-02-27 16:25:50 +00:00
lib pre-emptively fix some tests for class modifiers flag flip 2023-03-01 20:11:25 +00:00
lib_2 Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
modular
standalone Revert "[build, vm] Access TLS with less code." 2023-03-01 12:19:07 +00:00
standalone_2 Fix unbalanced call to Dart_TypedDataAcquireData. 2023-02-14 01:44:17 +00:00
web [dart2js] Fix #51558 - skip abstract getters 2023-03-01 16:41:38 +00:00
web_2 [test_runner] Unify name for passing DDC options 2023-02-14 20:13:57 +00:00
legacy_status_dart2js.csv
OWNERS
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.