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 @@ -3068,7 +3068,7 @@ object Types {
3068
3068
}
3069
3069
}
3070
3070
3071
- trait MethodicType extends SignatureCachingType {
3071
+ trait MethodicType extends TermType {
3072
3072
protected def resultSignature (implicit ctx : Context ): Signature = try resultType match {
3073
3073
case rtp : MethodicType => rtp.signature
3074
3074
case tp =>
@@ -3088,7 +3088,7 @@ object Types {
3088
3088
override def resultType (implicit ctx : Context ): Type = resType
3089
3089
override def underlying (implicit ctx : Context ): Type = resType
3090
3090
3091
- def computeSignature (implicit ctx : Context ): Signature = Signature .NotAMethod
3091
+ override def signature (implicit ctx : Context ): Signature = Signature .NotAMethod
3092
3092
3093
3093
def derivedExprType (resType : Type )(implicit ctx : Context ): ExprType =
3094
3094
if (resType eq this .resType) this else ExprType (resType)
@@ -3194,7 +3194,7 @@ object Types {
3194
3194
final override def equals (that : Any ): Boolean = equals(that, null )
3195
3195
}
3196
3196
3197
- abstract class MethodOrPoly extends UncachedGroundType with LambdaType with MethodicType {
3197
+ abstract class MethodOrPoly extends UncachedGroundType with LambdaType with MethodicType with SignatureCachingType {
3198
3198
final override def hashCode : Int = System .identityHashCode(this )
3199
3199
3200
3200
final override def equals (that : Any ): Boolean = equals(that, null )
You can’t perform that action at this time.
0 commit comments