当我在做sbt compile -feature
我的 Scala 项目时,我收到了一个神秘的警告:
The `-` command is deprecated in favor of `onFailure` and will be removed in 0.14.0
我不知道那个破折号/减号命令是什么或它可能在哪里使用。在谷歌上搜索它是不可能的,以及为它寻找代码库(只有 /so/ /many/ /dashes/)。
如果至少我知道它是在哪里定义的。我在 scala 文档中也找不到任何东西。