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

Type Tag not present in subclass #20

Open
philllies opened this issue Aug 25, 2019 · 1 comment
Open

Type Tag not present in subclass #20

philllies opened this issue Aug 25, 2019 · 1 comment

Comments

@philllies
Copy link

I tried to reproduce the polymorphism example from the readme. While subclassing appears to be working correctly, there is no $, nor any other property that would tag the subclass with the string I provide as third argument to mst, e.g., mst(code, model, "mysubclass).

Any idea why this is not working as intended?

@jjrv
Copy link
Member

jjrv commented Oct 18, 2019

Did you pass the parent class prototype as the second parameter to shim?

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

No branches or pull requests

2 participants