Skip to content

Commit

Permalink
Add regression test for i20498
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jun 14, 2024
1 parent c6fbe6f commit f00c82f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/pos/i20498/impl.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package demo.debug
import demo.util._
class Impl:
"".tap()
4 changes: 4 additions & 0 deletions tests/pos/i20498/ops.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package demo.util
trait Ops:
final implicit class Ops[A](private val self: A):
def tap(): Unit = ()
2 changes: 2 additions & 0 deletions tests/pos/i20498/package.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package demo
package object util extends Ops

0 comments on commit f00c82f

Please sign in to comment.