Skip to content

Commit 7adf9f9

Browse files
committed
Add regression test for #10366
1 parent 33ece58 commit 7adf9f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i10366.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import scala.compiletime.testing._
2+
3+
object Test:
4+
implicit class ShouldWrapper(lhs: Boolean):
5+
def shouldBe(rhs: Boolean): Unit = ???
6+
7+
typeChecks("class Bar") shouldBe true

0 commit comments

Comments
 (0)