File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ object MainGenericCompiler {
100100 case (" -q" | " -quiet" ) :: tail =>
101101 process(tail, settings.withQuiet)
102102 case " -repl" :: tail =>
103+ Console .err.println(s " [warning] The -repl command line option has been deprecated removal in Scala 3.8.0. " )
104+ Console .err.println(s " [warning] Please use the 'scala repl' command (Scala CLI) to run the REPL. " )
103105 process(tail, settings.withCompileMode(CompileMode .Repl ))
104106 case " -script" :: targetScript :: tail =>
105107 process(Nil , settings
@@ -114,6 +116,8 @@ object MainGenericCompiler {
114116 case " -print-tasty" :: tail =>
115117 process(tail, settings.withCompileMode(CompileMode .PrintTasty ))
116118 case " -run" :: tail =>
119+ Console .err.println(s " [warning] The -run command line option has been deprecated removal in Scala 3.8.0. " )
120+ Console .err.println(s " [warning] Please use the 'scala' command (Scala CLI) instead. " )
117121 process(tail, settings.withCompileMode(CompileMode .Run ))
118122 case " -colors" :: tail =>
119123 process(tail, settings.withColors)
You can’t perform that action at this time.
0 commit comments