mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() This prevents them from being called dynamically. Moreover, it prevents asFunction from being called on a non-NativeFunction type argument, simplifying the amount of manual checks. Note that this CL had to change the CFE and analzyer, and their tests (including mock_sdk) as well. This can potentially be a breaking change, as the extension methods are only visible when `dart:ffi` is imported, while methods on objects are always visible. Issue: https://github.com/dart-lang/sdk/issues/35903 Change-Id: I1e291f154228d5d9a34b21a022088bf493f6557d Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64-try,app-kernel-linux-debug-x64-try,vm-kernel-linux-debug-ia32-try,vm-kernel-win-debug-x64-try,vm-kernel-win-debug-ia32-try,vm-kernel-precomp-linux-debug-x64-try,vm-dartkb-linux-release-x64-abi-try,vm-kernel-precomp-android-release-arm64-try,vm-kernel-asan-linux-release-x64-try,vm-kernel-linux-release-simarm-try,vm-kernel-linux-release-simarm64-try,vm-kernel-precomp-android-release-arm_x64-try,vm-kernel-precomp-obfuscate-linux-release-x64-try,dart-sdk-linux-try,analyzer-analysis-server-linux-try,analyzer-linux-release-try,front-end-linux-release-x64-try,vm-kernel-precomp-win-release-x64-try,vm-kernel-mac-debug-x64-try,analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135463 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
aliasing_test.dart | ||
analysis_options.yaml | ||
callback_tests_utils.dart | ||
coordinate.dart | ||
coordinate_bare.dart | ||
data_not_asan_test.dart | ||
data_test.dart | ||
dylib_utils.dart | ||
extension_methods_test.dart | ||
external_typed_data_test.dart | ||
ffi_2.status | ||
ffi_test_helpers.dart | ||
function_callbacks_many_test.dart | ||
function_callbacks_test.dart | ||
function_callbacks_very_many_test copy.dart | ||
function_callbacks_very_many_test.dart | ||
function_structs_test.dart | ||
function_test.dart | ||
hardfp_test.dart | ||
negative_function_test.dart | ||
null_regress_39068_test.dart | ||
null_test.dart | ||
prepare_flutter_bundle.dart | ||
regress_37254_test.dart | ||
regress_39044_test.dart | ||
regress_39063_test.dart | ||
regress_39885_test.dart | ||
regress_40537_test.dart | ||
sizeof_test.dart | ||
snapshot_test.dart | ||
stacktrace_regress_37910_test.dart | ||
structs_test.dart | ||
variance_function_test.dart | ||
very_large_struct.dart | ||
vmspecific_dynamic_library_test.dart | ||
vmspecific_enable_ffi_test.dart | ||
vmspecific_function_callbacks_exit_test.dart | ||
vmspecific_function_callbacks_negative_test.dart | ||
vmspecific_function_callbacks_test.dart | ||
vmspecific_function_gc_test.dart | ||
vmspecific_function_test.dart | ||
vmspecific_highmem_32bit_test.dart | ||
vmspecific_null_test.dart | ||
vmspecific_object_gc_test.dart | ||
vmspecific_regress_37100_test.dart | ||
vmspecific_regress_37511_callbacks_test.dart | ||
vmspecific_regress_37511_test.dart | ||
vmspecific_regress_37780_test.dart | ||
vmspecific_regress_38993_test.dart | ||
vmspecific_send_port_id_test.dart | ||
vmspecific_static_checks_test.dart | ||
vmspecific_variance_function_checks_test.dart |