File tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1704,15 +1704,15 @@ class Definitions {
1704
1704
def isFunctionNType (tp : Type )(using Context ): Boolean =
1705
1705
isNonRefinedFunction(tp.dropDependentRefinement)
1706
1706
1707
- /** Is `tp` a specialized, refined function type? Either an `ErasedFunction ` or a `PolyFunction`. */
1707
+ /** Does `tp` derive from `PolyFunction ` or `ErasedFunction`? */
1708
1708
def isPolyOrErasedFunctionType (tp : Type )(using Context ): Boolean =
1709
1709
isPolyFunctionType(tp) || isErasedFunctionType(tp)
1710
1710
1711
- /** Is `tp` a specialized, refined `PolyFunction` type ? */
1711
+ /** Does `tp` derive from `PolyFunction`? */
1712
1712
def isPolyFunctionType (tp : Type )(using Context ): Boolean =
1713
1713
tp.derivesFrom(defn.PolyFunctionClass )
1714
1714
1715
- /** Is `tp` a specialized, refined `ErasedFunction` type ? */
1715
+ /** Does `tp` derive from `ErasedFunction`? */
1716
1716
def isErasedFunctionType (tp : Type )(using Context ): Boolean =
1717
1717
tp.derivesFrom(defn.ErasedFunctionClass )
1718
1718
You can’t perform that action at this time.
0 commit comments