We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f13c61f commit 24916b0Copy full SHA for 24916b0
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -5973,7 +5973,11 @@ object Types extends TypeUtils {
5973
&& (!tp.cls.is(Trait) || takesNoArgs(tp.cls.info.parents.head))
5974
5975
if noArgsNeeded != validCtorOLD then
5976
- println(i"SAM change for $tp with parent ${firstParentCls.fullName}, now $noArgsNeeded")
+ println(
5977
+ i"""SAM change for $tp / ${tp.cls.fullName} with parent ${firstParentCls.fullName}, now $noArgsNeeded
5978
+ |takesNoArgs: ${takesNoArgs(tp)}
5979
+ |takesNoArgsParent: ${takesNoArgs(tp.cls.info.parents.head)}
5980
+ |primary: ${firstParentCls.primaryConstructor.info}""")
5981
5982
def isInstantiable =
5983
!tp.cls.isOneOf(FinalOrSealed) && (tp.appliedRef <:< tp.selfType)
0 commit comments