We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b3db3 commit fce6922Copy full SHA for fce6922
compiler/src/dotty/tools/dotc/core/TypeUtils.scala
@@ -206,10 +206,5 @@ class TypeUtils:
206
207
self.decl(nme.CONSTRUCTOR).altsWith(isApplicable).map(_.symbol)
208
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
-
214
end TypeUtils
215
0 commit comments