Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari does not throw a NSM error on null when used through reflection #16831

Closed
floitschG opened this issue Feb 14, 2014 · 1 comment
Closed
Labels
library-mirrors type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@floitschG
Copy link
Contributor

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.

@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed priority-unassigned labels Feb 29, 2016
@sigmundch
Copy link
Member

this is now fixed in the latest safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
library-mirrors type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

3 participants