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

Support for multiple alias for op annotation #149

Open
yangzai opened this issue Sep 4, 2021 · 0 comments
Open

Support for multiple alias for op annotation #149

yangzai opened this issue Sep 4, 2021 · 0 comments

Comments

@yangzai
Copy link

yangzai commented Sep 4, 2021

I not too familiar with macro annotations but I would like to propose a change of op annotation arguments from:

final class op(name: String, alias: Boolean = false) extends Annotation

to:

final class op(rename: Option[String] = None, aliases: List[String] = Nil) extends Annotation

to support multiple aliases.

This will also allow for renaming with alias which is currently mutually exclusive.

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