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 property with a getter and a return from a setter throws an error #418

Open
mjstahl opened this issue Jan 2, 2019 · 2 comments
Open
Labels

Comments

@mjstahl
Copy link
Contributor

mjstahl commented Jan 2, 2019

If you have a VM property with a getter and a setter, and you return from that setter you will see the following error on the console:

canReflect.setValue - cannot set the value

The following codepen provides an example.

https://codepen.io/kphillips86/pen/WLdYNP?editors=0011

@mjstahl mjstahl added the bug label Jan 2, 2019
@chasenlehara
Copy link
Member

I’m not sure that throwing an error is a bug (an error of some sort seems useful). It would be nice to change the error to something more understandable though.

@justinbmeyer
Copy link
Contributor

Yeah, I think there’s already an issue for this. Basically any setting would be ignored.

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

No branches or pull requests

3 participants