-
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
Options validation #406
Options validation #406
Conversation
4940391
to
da52a7d
Compare
modules/build/src/main/scala/scala/build/options/ScalaOptions.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/validation/BuildOptionsRule.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/validation/BuildOptionsRule.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/validation/BuildOptionsRule.scala
Show resolved
Hide resolved
modules/integration/src/test/scala/scala/cli/integration/CompileTestDefinitions.scala
Outdated
Show resolved
Hide resolved
0a2641a
to
883a4d0
Compare
I think I covered the issues. The problem now is that the warnings may be reported twice, as |
Apart from the information about duplicate positions of settings in |
modules/build/src/main/scala/scala/build/options/ConfigMonoid.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/HashedField.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/ScalaOptions.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/BuildOptions.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/validation/BuildOptionsRule.scala
Show resolved
Hide resolved
modules/build/src/test/scala/scala/build/tests/TestLogger.scala
Outdated
Show resolved
Hide resolved
e1f5342
to
2040c30
Compare
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.
Apart from the NITs, LGTM!
modules/build/src/main/scala/scala/build/errors/BuildException.scala
Outdated
Show resolved
Hide resolved
modules/build/src/main/scala/scala/build/options/validation/BuildOptionsRule.scala
Outdated
Show resolved
Hide resolved
Switch extraPlatforms from Set[Positioned[Platform] to Map[Platform, Positioned[Unit]]
…cala Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
…scala Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
…scala Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
….scala Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
…ildOptionsRule.scala Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
1bb76a3
to
2718ee4
Compare
I had to force-push because of conflicts |
No description provided.