mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:59:47 +00:00
bf683bacbb
Analyzer fix https://github.com/dart-lang/sdk/issues/54754 has landed. A new version of package:analyzer and package:dartdoc have been released. `pub global activate dartdoc` should now work. Patchset 1 is identical to the original CL. The only difference is an extra test testing with negative offsets. === Original CL description === Structs and unions can now be created from an existing typed data with the new `create` methods. The typed data argument to these `create` methods is optional. If the typed data argument is omitted, a new typed data of the right size will be allocated. Compound field reads and writes are unchecked. (These are TypedDataBase loads and stores, rather than TypedData loads and stores. And Pointers have no byte length.) Therefore the `create` method taking existing TypedData objects check whether the length in bytes it at least the size of the compound. TEST=pkg/analyzer/test/src/diagnostics/creation_of_struct_or_union_test.dart TEST=pkg/vm/testcases/transformations/ffi/struct_typed_data.dart TEST=tests/ffi/structs_typed_data_test.dart TEST=tests/ffi/vmspecific_static_checks_test.dart Closes: https://github.com/dart-lang/sdk/issues/45697 Closes: https://github.com/dart-lang/sdk/issues/53418 Change-Id: Id7f30bcd4a6ae55a8298b39c9eadf4e80bc699a9 CoreLibraryReviewExempt: FFI is a VM and WASM only feature. Cq-Include-Trybots: luci.dart.try:vm-aot-android-release-arm64c-try,vm-aot-android-release-arm_x64-try,vm-aot-linux-debug-x64-try,vm-aot-linux-debug-x64c-try,vm-aot-mac-release-arm64-try,vm-aot-mac-release-x64-try,vm-aot-obfuscate-linux-release-x64-try,vm-aot-optimization-level-linux-release-x64-try,vm-aot-win-debug-arm64-try,vm-aot-win-release-x64-try,vm-appjit-linux-debug-x64-try,vm-asan-linux-release-x64-try,vm-checked-mac-release-arm64-try,vm-eager-optimization-linux-release-ia32-try,vm-eager-optimization-linux-release-x64-try,vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try,vm-ffi-qemu-linux-release-arm-try,vm-ffi-qemu-linux-release-riscv64-try,vm-fuchsia-release-x64-try,vm-kernel-linux-debug-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-linux-debug-ia32-try,vm-linux-debug-x64-try,vm-linux-debug-x64c-try,vm-mac-debug-arm64-try,vm-mac-debug-x64-try,vm-msan-linux-release-x64-try,vm-reload-linux-debug-x64-try,vm-reload-rollback-linux-debug-x64-try,vm-ubsan-linux-release-x64-try,vm-win-debug-arm64-try,vm-win-debug-x64-try,vm-win-release-ia32-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/349260 Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
_http | ||
_internal | ||
_wasm | ||
async | ||
cli | ||
collection | ||
convert | ||
core | ||
developer | ||
ffi | ||
html | ||
indexed_db | ||
internal | ||
io | ||
isolate | ||
js | ||
js_interop | ||
js_interop_unsafe | ||
js_util | ||
math | ||
mirrors | ||
svg | ||
typed_data | ||
vmservice | ||
web_audio | ||
web_gl | ||
web_sql | ||
analysis_options.yaml | ||
libraries.json | ||
libraries.yaml | ||
PRESUBMIT.py | ||
vmservice_libraries.json | ||
vmservice_libraries.yaml |