Skip to content

Commit e277ff2

Browse files
committed
Add regression test
1 parent 90f4d5b commit e277ff2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/i5954.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ object MatcherFactory1 {
88
def impl(self: Expr[MatcherFactory1#AndNotWord]) =
99
'{ ~self }
1010

11+
12+
def impl2[T: Type](a: MatcherFactory1)(self: Expr[T])(implicit ev: T =:= a.AndNotWord) =
13+
'{ ~self }
14+
1115
}

0 commit comments

Comments
 (0)