File tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core/tasty
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ object TastyPrinter:
35
35
println(showContents(bytes, noColor))
36
36
println()
37
37
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
40
40
else if arg.startsWith(" -" ) then println(s " bad option ' $arg' was ignored " )
41
41
else if arg.endsWith(" .tasty" ) then {
42
42
val path = Paths .get(arg)
Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ object Build {
640
640
val printTasty = args0.contains(" -print-tasty" )
641
641
val debugFromTasty = args0.contains(" -Ythrough-tasty" )
642
642
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 " )
644
644
645
645
val main =
646
646
if (decompile) " dotty.tools.dotc.decompiler.Main"
You can’t perform that action at this time.
0 commit comments