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

Dart2js: reflect of null gives error when invoking. #12482

Closed
lrhn opened this issue Aug 15, 2013 · 7 comments
Closed

Dart2js: reflect of null gives error when invoking. #12482

lrhn opened this issue Aug 15, 2013 · 7 comments
Assignees
Milestone

Comments

@lrhn
Copy link
Member

lrhn commented Aug 15, 2013

Example:

import "dart:mirrors";
main() {
  var im = reflect(null);
  print(im.invoke(const Symbol("=="), [null]).reflectee);
}

gives:

reflectNull.dart.out:8820: TypeError: Cannot read property 'constructor' of null
    cache = t1.constructor[cacheName];

@peter-ahe-google
Copy link
Contributor

Added Library-Mirrors, Accepted labels.

@peter-ahe-google
Copy link
Contributor

Marked this as blocking #6490.

@kasperl
Copy link

kasperl commented Sep 18, 2013

Added this to the M7 milestone.

@kasperl
Copy link

kasperl commented Sep 30, 2013

Removed Priority-Unassigned label.
Added Priority-Medium label.

@kasperl
Copy link

kasperl commented Oct 2, 2013

Removed this from the M7 milestone.
Added this to the M8 milestone.

@floitschG
Copy link
Contributor

https://codereview.chromium.org/161333002/


Set owner to @floitschG.
Added Started label.

@floitschG
Copy link
Contributor

Fixed in r32650.


Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants