-
Notifications
You must be signed in to change notification settings - Fork 121
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
Provide helper function for new Analysis format #1350
Conversation
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.
Looks good to me, except for the aliases.
@@ -299,7 +300,7 @@ object MixedAnalyzingCompiler { | |||
output: Output, | |||
outputJarContent: JarUtils.OutputJarContent, | |||
earlyOutput: Option[Output], | |||
earlyAnalysisStore: Option[AnalysisStore], | |||
earlyAnalysisStore: Option[XAnalysisStore], |
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.
Why do you want to use an alias for AnalysisStore
?
If it is not necessary (no name conflict) I would prefer not to use an alias, to avoid having different names for the same thing in different files.
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.
I might have confused AnslysisStore and FileAnalysisStore. Let me try to remove the alias.
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.
Addressed in 69c1ab0
ec: ExecutionContext, | ||
parallelism: Int, | ||
): XAnalysisStore = { | ||
import sbt.internal.inc.{ FileAnalysisStore => Store } |
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.
Here as well, I think using FileAnalysisStore
directly is clearer than the alias Store
, which is quite ambiguous.
69c1ab0
to
4be431d
Compare
No description provided.