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

defclass doesn't work with core function names #502

Closed
brandonstubbs opened this issue Apr 2, 2024 · 0 comments
Closed

defclass doesn't work with core function names #502

brandonstubbs opened this issue Apr 2, 2024 · 0 comments

Comments

@brandonstubbs
Copy link
Contributor

version
v0.7.100

problem
Can't extend a defclass with a property that has the same name as a core function name

repro
https://squint-cljs.github.io/squint/?src=KG5zIG15ZWxlbWVudAogICg6cmVxdWlyZSBbc3F1aW50LmNvcmUgOnJlZmVyIFtkZWZjbGFzc11dKSkKCihkZWZjbGFzcyBFeGFtcGxlCiAgKGNvbnN0cnVjdG9yIFt0aGlzXSkKCiAgT2JqZWN0CiAgKHVwZGF0ZSBbdGhpc10KICAgIChqcy9jb25zb2xlLmxvZyAidXBkYXRlIikpKQ%3D%3D

In the above example update is causing the issue.

expected behavior
You should be allowed to define any named property.

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