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

Kotlin Compiler Plugin #2

Open
burntcookie90 opened this issue Mar 12, 2019 · 2 comments
Open

Kotlin Compiler Plugin #2

burntcookie90 opened this issue Mar 12, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@burntcookie90
Copy link
Contributor

Would be great to generate bytecode as a compiler plugin and get rid of the need to delegate to library methods.

@burntcookie90 burntcookie90 added the enhancement New feature or request label Mar 12, 2019
@ZacSweers
Copy link

You can do it for non-data classes, but the data classes compiler plugin will overwrite you unfortunately. It only defers to user-written code. https://github.com/ZacSweers/redacted-compiler-plugin

@burntcookie90
Copy link
Contributor Author

but the data classes compiler plugin will overwrite you unfortunately.

ah that's a bummer 🤔 . I don't think I want to enforce a class hierarchy just for this, delegating the function seems like a better buy-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants