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 675b2ac commit d26401eCopy full SHA for d26401e
compiler/src/dotty/tools/dotc/transform/TailRec.scala
@@ -70,7 +70,7 @@ class TailRec extends MiniPhase with FullParameterization {
70
71
override def runsAfter = Set(ShortcutImplicits.name) // Replaces non-tail calls by tail calls
72
73
- final val labelFlags = Flags.Synthetic | Flags.Label
+ final val labelFlags = Flags.Synthetic | Flags.Label | Flags.Method
74
75
/** Symbols of methods that have @tailrec annotatios inside */
76
private val methodsWithInnerAnnots = new collection.mutable.HashSet[Symbol]()
0 commit comments