You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do a compile and get no warning. Check the .scala/.bloop/<build-target>.json and see that there are no options containing -feature, -deprecation, or -explain.
Change you script to:
// using scala 3.1.0// using options -deprecation -feature -explaindeffoo="bar"
Do a scala-cli clean . just to be safe and then follow it up with a scala-cli compile . and you see the following:
Compiling project (Scala 3.1.0, JVM)
Warning: Flag -deprecation set repeatedly
Warning: Flag -feature set repeatedly
Warning: Flag -explain set repeatedly
If you now look in the bloop json file again you see that they are duplicated in options. I'd expect this not to happen so the user doesn't see these errors.
The text was updated successfully, but these errors were encountered:
Give an minimal snippet like this:
Do a compile and get no warning. Check the
.scala/.bloop/<build-target>.json
and see that there are no options containing-feature
,-deprecation
, or-explain
.Change you script to:
Do a
scala-cli clean .
just to be safe and then follow it up with ascala-cli compile .
and you see the following:If you now look in the bloop json file again you see that they are duplicated in
options
. I'd expect this not to happen so the user doesn't see these errors.The text was updated successfully, but these errors were encountered: