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 08ad92e commit 70ecbc1Copy full SHA for 70ecbc1
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -812,8 +812,8 @@ object desugar {
812
val originalVparamsIt = originalVparamss.iterator.flatten
813
derivedVparamss match {
814
case first :: rest =>
815
- first.map(_.withMods(originalVparamsIt.next().mods | caseAccessor)) ++
816
- rest.flatten.map(_.withMods(originalVparamsIt.next().mods))
+ first.map(_.withMods(originalVparamsIt.next().mods | caseAccessor | Final)) ++
+ rest.flatten.map(_.withMods(originalVparamsIt.next().mods | Final))
817
case _ =>
818
Nil
819
}
0 commit comments