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

VM does not respect @MirrorsUsed, leads to differences in behavior #16048

Closed
sethladd opened this issue Jan 12, 2014 · 2 comments
Closed

VM does not respect @MirrorsUsed, leads to differences in behavior #16048

sethladd opened this issue Jan 12, 2014 · 2 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.

Comments

@sethladd
Copy link
Contributor

Users are finding that apps run fine in VM but not when compiled via dart2js, when @­MirrorsUsed is used. This annotation changes the behavior of the app, but is only respected by one of our runtimes.

In an effort to help catch errors as early as possible, can we have the VM look at @­MirrorsUsed (and whatever we come up with in the future).

@sethladd
Copy link
Contributor Author

@sethladd sethladd added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. labels Jan 12, 2014
@rmacnak-google
Copy link
Contributor

MirrorsUsed does not have a specified behavior for the VM to implement.

Those looking for consistent reflection across the VM and dart2js should look at

https://github.com/dart-lang/reflectable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

3 participants