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

Dependencies between generated files fail to resolve #101

Open
Octogonapus opened this issue Jul 16, 2019 · 2 comments
Open

Dependencies between generated files fail to resolve #101

Octogonapus opened this issue Jul 16, 2019 · 2 comments
Labels
bug Something isn't working meta Related with the annotation processor

Comments

@Octogonapus
Copy link
Collaborator

This generated file (https://pastebin.com/vM1vCkwr) depends on another generated file (https://pastebin.com/2gWXjBbU). Both files are emitted into the same folder on disk, but their package statements differ, causing the former file to need import statements for the encoder & decoder methods in the latter file. Without these import statements, the former file fails to compile.

@AdrianRaFo
Copy link
Contributor

Could you try to build without clean? It seems like this is part of a known issue where we need to look into the dependency graph to generate the code on the right order

@AdrianRaFo AdrianRaFo added bug Something isn't working meta Related with the annotation processor labels Jul 19, 2019
@Octogonapus
Copy link
Collaborator Author

I typically don't run clean before I build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working meta Related with the annotation processor
Projects
None yet
Development

No branches or pull requests

2 participants