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

Not sure it supports inheritance #4

Open
adrianthedev opened this issue Oct 22, 2024 · 0 comments
Open

Not sure it supports inheritance #4

adrianthedev opened this issue Oct 22, 2024 · 0 comments

Comments

@adrianthedev
Copy link
Contributor

adrianthedev commented Oct 22, 2024

Not sure this works

class A
  prop :id
end

class B < A
  prop :name
end

foo = B.new
foo.name = :bar # errors out
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

1 participant