File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1704,15 +1704,15 @@ class Definitions {
17041704 def isFunctionNType (tp : Type )(using Context ): Boolean =
17051705 isNonRefinedFunction(tp.dropDependentRefinement)
17061706
1707- /** Is `tp` a specialized, refined function type? Either an `ErasedFunction ` or a `PolyFunction`. */
1707+ /** Does `tp` derive from `PolyFunction ` or `ErasedFunction`? */
17081708 def isPolyOrErasedFunctionType (tp : Type )(using Context ): Boolean =
17091709 isPolyFunctionType(tp) || isErasedFunctionType(tp)
17101710
1711- /** Is `tp` a specialized, refined `PolyFunction` type ? */
1711+ /** Does `tp` derive from `PolyFunction`? */
17121712 def isPolyFunctionType (tp : Type )(using Context ): Boolean =
17131713 tp.derivesFrom(defn.PolyFunctionClass )
17141714
1715- /** Is `tp` a specialized, refined `ErasedFunction` type ? */
1715+ /** Does `tp` derive from `ErasedFunction`? */
17161716 def isErasedFunctionType (tp : Type )(using Context ): Boolean =
17171717 tp.derivesFrom(defn.ErasedFunctionClass )
17181718
You can’t perform that action at this time.
0 commit comments