We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba04554 commit c1a3aceCopy full SHA for c1a3ace
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -806,7 +806,7 @@ object SymDenotations {
806
def isSkolem: Boolean = name == nme.SKOLEM
807
808
def isInlineMethod(implicit ctx: Context): Boolean =
809
- is(InlineMethod, butNot = AccessorOrSynthetic) &&
+ is(InlineMethod, butNot = Accessor) &&
810
!name.isUnapplyName // unapply methods do not count as inline methods
811
// we need an inline flag on them only do that
812
// reduceProjection gets access to their rhs
0 commit comments