File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
compiler/test/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class FromTastyTests extends ParallelTesting {
2121
2222
2323 @ Test def posTestFromTasty : Unit = {
24- // Can be reproduced with
24+ // Failures can be reproduced in isolation with
2525 // > sbt
2626 // > dotc -Ythrough-tasty -Ycheck:all <source>
2727
@@ -72,7 +72,7 @@ class FromTastyTests extends ParallelTesting {
7272 }
7373
7474 @ Test def runTestFromTasty : Unit = {
75- // Can be reproduced with
75+ // Failures can be reproduced in isolation with
7676 // > sbt
7777 // > dotc -Ythrough-tasty -Ycheck:all <source>
7878 // > dotr Test
Original file line number Diff line number Diff line change 11object Test {
2- inline def sum2 (ys : List [Int ]): Int = (1 /: ys)(_ + _)
3- val h1 : ((List [Int ]) => Int ) = sum2
2+ inline def sum2 (ys : List [Int ]): Unit = {
3+ ys.foldLeft(1 )
4+ }
5+ val h1 : ((List [Int ]) => Unit ) = sum2
46}
You can’t perform that action at this time.
0 commit comments