File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/scala/internal/quoted Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ private[quoted] object Matcher {
33
33
if (hasTypeSplices) {
34
34
val ctx : Context = internal.Context_GADT_setFreshGADTBounds (rootContext)
35
35
given Context = ctx
36
- val matchings = scrutineeTerm.underlyingArgument =?= patternTerm.underlyingArgument
36
+ val matchings = scrutineeTerm =?= patternTerm
37
37
// After matching and doing all subtype checks, we have to approximate all the type bindings
38
38
// that we have found and seal them in a quoted.Type
39
39
matchings.asOptionOfTuple.map { tup =>
@@ -44,7 +44,7 @@ private[quoted] object Matcher {
44
44
}
45
45
}
46
46
else {
47
- scrutineeTerm.underlyingArgument =?= patternTerm.underlyingArgument
47
+ scrutineeTerm =?= patternTerm
48
48
}
49
49
}
50
50
You can’t perform that action at this time.
0 commit comments