diff options
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Types.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Types.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala index 8bd729472..36e0dfb0e 100644 --- a/compiler/src/dotty/tools/dotc/core/Types.scala +++ b/compiler/src/dotty/tools/dotc/core/Types.scala @@ -2394,12 +2394,6 @@ object Types { */ def isDependent(implicit ctx: Context): Boolean = dependencyStatus == TrueDeps - /** The result type where every reference to a parameter is replaced by a Wildcard - */ - def resultTypeApprox(implicit ctx: Context): Type = - if (isDependent) resultType.substParams(this, paramTypes.map(Function.const(WildcardType))) - else resultType - protected def computeSignature(implicit ctx: Context): Signature = resultSignature.prepend(paramTypes, isJava) |