[vm/ffi] Null exceptions on arguments are reported as null receiver in FFI calls #47094
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-ffi
Null-checks on arguments are reported as null-checks on the receiver in trampolines. (The slow path reporting the error assumes it is checking the receiver for null.)
Originally posted by @dcharkes in #36780 (comment)
If there is a selector, it will be reported as a NoSuchMethodError:
sdk/runtime/vm/runtime_entry.cc
Lines 147 to 179 in 307bc3e
We need to encode in the code source map that this is a param name rather than a method name.
The text was updated successfully, but these errors were encountered: