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 5f88058 commit 69eb939Copy full SHA for 69eb939
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -298,7 +298,7 @@ object desugar {
298
rhs = vparam.rhs
299
)
300
.withMods(Modifiers(
301
- meth.mods.flags & (AccessFlags | Synthetic),
+ meth.mods.flags & (AccessFlags | Synthetic) | (vparam.mods.flags & Inline),
302
meth.mods.privateWithin))
303
val rest = defaultGetters(vparams :: paramss1, n + 1)
304
if vparam.rhs.isEmpty then rest else defaultGetter :: rest
0 commit comments