Skip to content

JSNull ClassMirror has itself in superinterfaces #16741

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

Closed
mraleph opened this issue Feb 11, 2014 · 2 comments
Closed

JSNull ClassMirror has itself in superinterfaces #16741

mraleph opened this issue Feb 11, 2014 · 2 comments
Labels
P0 A serious issue requiring immediate resolution web-dart2js

Comments

@mraleph
Copy link
Member

mraleph commented Feb 11, 2014

import 'dart:mirrors';

main() {
  final t = reflect(null).type;
  print(t.superinterfaces.contains(t));
}

would print true on dart2js.

This causes infinite recursion in anything that tries to traverse superinterfaces recursively (e.g. polymer_expression package).

@floitschG
Copy link
Contributor

@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
Labels
P0 A serious issue requiring immediate resolution web-dart2js
Projects
None yet
Development

No branches or pull requests

2 participants