Safari does not throw a NSM error on null
when used through reflection
#16831
Labels
library-mirrors
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
The following snippet from mirrors/null_test fails on Safari:
Expect.throws(() => nullMirror.invoke(#notDefined, []),
(e) => e is NoSuchMethodError,
'noSuchMethod');
Error message:
Exception: Expect.throws(noSuchMethod): Unexpected 'Error: 'null' is not an object (evaluating 'receiver[$name]')'
It probably throws, but not the right error.
The text was updated successfully, but these errors were encountered: