当我在Play控制台中编译scala时,我得到了这个:
[warn] there were 1 feature warning(s); re-run with -feature for details
[warn] one warning found
Run Code Online (Sandbox Code Playgroud)
我认为这意味着compile -feature,但我得到了这个:
[error] Expected ID character
[error] Not a valid command: compile (similar: completions)
[error] Expected project ID
[error] Expected configuration
[error] Expected ':' (if selecting a configuration)
[error] Expected key
[error] Expected '::'
[error] Expected end of input.
[error] compile -feature
[error]
Run Code Online (Sandbox Code Playgroud)
然后我跑play -feature,我得到了这个:
[warn] The `-` command is deprecated in favor of `onFailure` and will be removed in …Run Code Online (Sandbox Code Playgroud)