File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core/tasty Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ object TastyPrinter:
3535 println(showContents(bytes, noColor))
3636 println()
3737 printLastLine = true
38- for arg <- args if arg != " -print-tasty " do
39- if arg == " -print-tasty " || arg == " - color:never" then () // skip
38+ for arg <- args do
39+ if arg == " -color:never" then () // skip
4040 else if arg.startsWith(" -" ) then println(s " bad option ' $arg' was ignored " )
4141 else if arg.endsWith(" .tasty" ) then {
4242 val path = Paths .get(arg)
Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ object Build {
640640 val printTasty = args0.contains(" -print-tasty" )
641641 val debugFromTasty = args0.contains(" -Ythrough-tasty" )
642642 val args = args0.filter(arg => arg != " -repl" && arg != " -decompile" &&
643- arg != " -with-compiler" && arg != " -Ythrough-tasty" )
643+ arg != " -with-compiler" && arg != " -Ythrough-tasty" && arg != " -print-tasty " )
644644
645645 val main =
646646 if (decompile) " dotty.tools.dotc.decompiler.Main"
You can’t perform that action at this time.
0 commit comments