mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:01:20 +00:00
8218ee0840
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> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
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.