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 @@ -1713,15 +1713,15 @@ class Definitions {
17131713 def isFunctionNType (tp : Type )(using Context ): Boolean =
17141714 isNonRefinedFunction(tp.dropDependentRefinement)
17151715
1716- /** Is `tp` a specialized, refined function type? Either an `ErasedFunction ` or a `PolyFunction`. */
1716+ /** Does `tp` derive from `PolyFunction ` or `ErasedFunction`? */
17171717 def isPolyOrErasedFunctionType (tp : Type )(using Context ): Boolean =
17181718 isPolyFunctionType(tp) || isErasedFunctionType(tp)
17191719
1720- /** Is `tp` a specialized, refined `PolyFunction` type ? */
1720+ /** Does `tp` derive from `PolyFunction`? */
17211721 def isPolyFunctionType (tp : Type )(using Context ): Boolean =
17221722 tp.derivesFrom(defn.PolyFunctionClass )
17231723
1724- /** Is `tp` a specialized, refined `ErasedFunction` type ? */
1724+ /** Does `tp` derive from `ErasedFunction`? */
17251725 def isErasedFunctionType (tp : Type )(using Context ): Boolean =
17261726 tp.derivesFrom(defn.ErasedFunctionClass )
17271727
You can’t perform that action at this time.
0 commit comments