NoSuchMethodError should give access to the receiver and the data that would be in an invocation mirror. #6252
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
core-n
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Currently NoSuchMethodError gives a somewhat useful error message, and it will probably get even better.
That risks people parsing the string message to get information.
To give a better experience, we could make the receiver, the methodName, what kind of call it was (getter/setter/method) and the actual arguments passed (i.e., the receiver and the data on a corresponding InvocationMirror).
We should also consider whether that would be a security problem by possibly revealing internal objects through an error message (CC turnidge).
The text was updated successfully, but these errors were encountered: