Skip to content

Commit 9b48d07

Browse files
committed
More test to pos
It succeeds now, still worth keeping.
1 parent bd14d11 commit 9b48d07

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

tests/neg/i3703.scala

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/pos/i3703.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ package bar {
33
class S[XS[_] <: M[XS], A](val x: XS[A])
44
object S {
55
def apply[X[_] <: M[X], A](x: X[A]): S[X, A] = S[X, A](x)
6-
def unapply[X[_] <: M[X], A](p: S[X, A]): S[X, A] = S[X, A](p.x)
7-
// type annotation required for dotc. scalac accepts also `= S(p.x)`.
8-
}
6+
def unapply[X[_] <: M[X], A](p: S[X, A]): S[X, A] = S(p.x)
97
}
108

119

0 commit comments

Comments
 (0)