-
Notifications
You must be signed in to change notification settings - Fork 0
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
EnumIdentable: Use member
and extension
expansions
#5
base: main
Are you sure you want to change the base?
Conversation
let enumError = Diagnostic(node: node._syntaxNode, message: Diagnostics.mustBeEnum) | ||
context.diagnose(enumError) | ||
return [] | ||
public enum EnumIdentableMacro { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ssestak Is there any reason for the original name Identable
? I think it would be better to use the established Identifiable word, so EnumIdentifiableMacro
.
What do you think guys? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had discussion about name before. I don't mind if we change it to EnumIdentifiableMacro
. TBH for me it is one of the harder task to named something correctly 😅
@mikolasstuchlik what do you think ? I remember that I discussed it with you.
This pull request implements
extension
based expansion SE-0402.This change is source breaking, because previously required manual conformances will now get rejected (and/or won't emit the default implementation).
Closes #3 .