Skip to content

sexpr on tag metadata now expands to long form #282

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

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

lread
Copy link
Collaborator

@lread lread commented Jun 19, 2024

We also now throw when trying to sexpr invalid metadata.

Closes #280

We also now throw when trying to sexpr invalid metadata.

Closes #280
@lread
Copy link
Collaborator Author

lread commented Jun 19, 2024

@borkdude, when you have a moment, any objections/concerns to this change?

@borkdude
Copy link
Collaborator

I think this looks correct!

Side-question: why is sexpr now called sexpr*?
I have code in clj-kondo here which needs to be changed accordingly as well:

https://github.com/clj-kondo/clj-kondo/blob/c16439a7bbbcde3c3f8f2b4bf0953b8b57694b27/parser/clj_kondo/impl/rewrite_clj/node/meta.clj#L16

@lread
Copy link
Collaborator Author

lread commented Jun 25, 2024

Thanks!

Side answer: I don't remember exactly, but it looks like I made this change to support optional opts for namespaced elements: 1299f67

@lread lread merged commit 3b8ac40 into main Jun 25, 2024
80 checks passed
@lread lread deleted the lread-tag-metadata branch June 25, 2024 15:31
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

Successfully merging this pull request may close these issues.

^MyType foo is not recognized as reader sugar
2 participants