Skip to content

Commit f480cc1

Browse files
Regressions test works on Dotty
1 parent a3cfdb9 commit f480cc1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sourcecode/test/src/sourcecode/Regressions.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ package sourcecode
33
object Regressions {
44
def bug17() = {
55
val text = sourcecode.Text(Seq(1).map(_+1))
6-
// FIXME From dotty, getting: { // inlined
7-
// scala.package.Seq.apply[scala.Int]((1: scala.<repeated>[scala.Int])).map[scala.Int, collection.Seq[scala.Int]](((_$1: scala.Int) => _$1.+(1)))(collection.Seq.canBuildFrom[scala.Int])
8-
// }
9-
if (!TestUtil.isDotty)
10-
assert(text.source == "Seq(1).map(_+1)")
6+
assert(text.source == "Seq(1).map(_+1)")
117
}
128
def main() = {
139
bug17()

0 commit comments

Comments
 (0)