Skip to content

Commit abc8e31

Browse files
Add all passing pending & untried tests
Using the following script: find tests/untried/???/ tests/pending/???/ -maxdepth 1 -mindepth 1 -not -name "*.check" -not -name "*.flags" | while read t; do pref=$(echo "$t" | cut -f 1-2 -d "/") name=$(echo "$t" | rev | cut -f 1 -d "/" | rev) type=$(echo "$t" | cut -f 3 -d "/") mv "$t" "tests/$type" base=$(basename $name .scala) mv "$pref/$type/$base.check" "tests/$type" 2>/dev/null mv "$pref/$type/$base.flags" "tests/$type" 2>/dev/null echo ";testCompilation $name ;eval scala.tools.nsc.io.File(\"/home/olivier/works\").appendAll(\"$t\\n\")" done | sbt git stash cat /home/olivier/works | while read t; do # same loop as above
1 parent d27f9a6 commit abc8e31

File tree

777 files changed

+1
-182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

777 files changed

+1
-182
lines changed

compiler/src/dotty/tools/dotc/typer/Applications.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
964964
args.init :+ argSeq
965965
case _ =>
966966
val (regularArgs, varArgs) = args.splitAt(argTypes.length - 1)
967-
regularArgs :+ untpd.SeqLiteral(varArgs, untpd.TypeTree())
967+
regularArgs :+ untpd.SeqLiteral(varArgs, untpd.TypeTree()).withPos(tree.pos)
968968
}
969969
else if (argTypes.lengthCompare(1) == 0 && args.lengthCompare(1) > 0 && ctx.canAutoTuple)
970970
untpd.Tuple(args) :: Nil
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/pending/pos/exhaust_alternatives.flags

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/pending/pos/i1793.scala

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/pending/pos/list-optim-check.flags

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)