-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add advancedOption API with arguments support #84
Conversation
def other(option: String, args: List[String], isSupported: ScalaVersion => Boolean): ScalacOption = | ||
def other( | ||
option: String, | ||
args: List[String], |
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.
Also noticing here that the naming is not in line with previously existing privateOption
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.
Hmm do you mean the argument names? This is because def other
was added after the ScalacOption
breaking changes in 0.4.0.
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.
yes, the argument name is not the same. It was named arguments
in privateOption
.
This isn't a problem at all. Just raising an inconsistency :)
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.
Yes it's a good point, I wonder if we could use https://www.scala-lang.org/api/2.13.5/scala/deprecatedName.html to bring them all in line
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 great to me, thanks @RustedBones!
def other(option: String, args: List[String], isSupported: ScalaVersion => Boolean): ScalacOption = | ||
def other( | ||
option: String, | ||
args: List[String], |
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.
Hmm do you mean the argument names? This is because def other
was added after the ScalacOption
breaking changes in 0.4.0.
d1ebe10
to
0ba3695
Compare
As a user, I would like to define the following option in a consistent way:
-Xmax-classfile-name 100
with