Skip to content

Commit 133c14a

Browse files
committed
Add regression test for i20498
1 parent c68e594 commit 133c14a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

tests/pos/i20498/impl.scala

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package demo.debug
2+
import demo.util._
3+
class Impl:
4+
"".tap()

tests/pos/i20498/ops.scala

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package demo.util
2+
trait Ops:
3+
final implicit class Ops[A](private val self: A):
4+
def tap(): Unit = ()

tests/pos/i20498/package.scala

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package demo
2+
package object util extends Ops

0 commit comments

Comments
 (0)