Skip to content

Commit

Permalink
Backport "Add regression test for issue 20498" to LTS (#21068)
Browse files Browse the repository at this point in the history
Backports #20570 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
  • Loading branch information
WojciechMazur authored Jul 5, 2024
2 parents 103e077 + c0d640b commit f821732
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 f821732

Please sign in to comment.