Skip to content

Commit 592dd32

Browse files
author
Oron Port
committed
fix: add missing dealias to identify ports in compiler plugin
1 parent 1dbb700 commit 592dd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/scala/plugin/CommonPhase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ abstract class CommonPhase extends PluginPhase:
224224

225225
def hasNestedMemberCond(f: Type => Boolean)(using Context): Boolean =
226226
def recur(tpe: Type): Boolean =
227-
tpe match
227+
tpe.dealias match
228228
case tpe if f(tpe) => true
229229
case rt: RefinedType => recur(rt.refinedInfo) || recur(rt.parent)
230230
case rt: RecType => recur(rt.parent)

0 commit comments

Comments
 (0)