Skip to content

Commit 000e4c1

Browse files
committed
Add regression test for #10047
1 parent 3ecc0a8 commit 000e4c1

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

tests/run/i10047.check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
slash

tests/run/i10047.scala

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
object wrapper {
2+
val / = "slash"
3+
}
4+
5+
object foo {
6+
implicit val postfixOps: scala.languageFeature.postfixOps = scala.language.postfixOps
7+
val / = wrapper./
8+
}
9+
10+
object Test {
11+
def main(args: Array[String]): Unit = {
12+
val wd = foo./
13+
println(wd)
14+
}
15+
}

0 commit comments

Comments
 (0)