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 @@ -1713,15 +1713,15 @@ class Definitions {
1713
1713
def isFunctionNType (tp : Type )(using Context ): Boolean =
1714
1714
isNonRefinedFunction(tp.dropDependentRefinement)
1715
1715
1716
- /** Is `tp` a specialized, refined function type? Either an `ErasedFunction ` or a `PolyFunction`. */
1716
+ /** Does `tp` derive from `PolyFunction ` or `ErasedFunction`? */
1717
1717
def isPolyOrErasedFunctionType (tp : Type )(using Context ): Boolean =
1718
1718
isPolyFunctionType(tp) || isErasedFunctionType(tp)
1719
1719
1720
- /** Is `tp` a specialized, refined `PolyFunction` type ? */
1720
+ /** Does `tp` derive from `PolyFunction`? */
1721
1721
def isPolyFunctionType (tp : Type )(using Context ): Boolean =
1722
1722
tp.derivesFrom(defn.PolyFunctionClass )
1723
1723
1724
- /** Is `tp` a specialized, refined `ErasedFunction` type ? */
1724
+ /** Does `tp` derive from `ErasedFunction`? */
1725
1725
def isErasedFunctionType (tp : Type )(using Context ): Boolean =
1726
1726
tp.derivesFrom(defn.ErasedFunctionClass )
1727
1727
You can’t perform that action at this time.
0 commit comments