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 2ee8adf commit e9bc882Copy full SHA for e9bc882
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -388,7 +388,7 @@ object desugar {
388
}
389
private def toDefParam(vparam: ValDef, keepAnnotations: Boolean): ValDef = {
390
var mods = vparam.rawMods
391
- if (!keepAnnotations) mods = mods.withAnnotations(Nil)
+ //if (!keepAnnotations) mods = mods.withAnnotations(Nil)
392
vparam.withMods(mods & (GivenOrImplicit | Erased) | Param)
393
394
0 commit comments