Skip to content

Commit a94a03a

Browse files
committed
Fix handling of -print-tasty flag in dotc
If the "-print-tasty" argument is passed to the dotc wrapper script, it should be propagated to the decompiler.
1 parent 64bd0fe commit a94a03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/bin/dotc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ case "$1" in
9090
-repl) PROG_NAME="$ReplMain" && shift ;;
9191
-compile) PROG_NAME="$CompilerMain" && shift ;;
9292
-decompile) PROG_NAME="$DecompilerMain" && shift ;;
93-
-print-tasty) PROG_NAME="$DecompilerMain" && shift ;;
93+
-print-tasty) PROG_NAME="$DecompilerMain" && addScala "-print-tasty" && shift ;;
9494
-run) PROG_NAME="$ReplMain" && shift ;;
9595
-bootcp) bootcp=true && shift ;;
9696
-nobootcp) unset bootcp && shift ;;

0 commit comments

Comments
 (0)