Skip to content

Commit fce6922

Browse files
committed
bugfix: Fix duplicate option in TyperOps
1 parent 39b3db3 commit fce6922

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/src/dotty/tools/dotc/core/TypeUtils.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,5 @@ class TypeUtils:
206206

207207
self.decl(nme.CONSTRUCTOR).altsWith(isApplicable).map(_.symbol)
208208

209-
/** Strip all outer refinements off this type */
210-
def stripRefinement: Type = self match
211-
case self: RefinedOrRecType => self.parent.stripRefinement
212-
case seld => self
213-
214209
end TypeUtils
215210

0 commit comments

Comments
 (0)