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 5e01978 commit 48e515fCopy full SHA for 48e515f
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -158,7 +158,7 @@ object desugar {
158
vparamss = (setterParam :: Nil) :: Nil,
159
tpt = TypeTree(defn.UnitType),
160
rhs = setterRhs
161
- ).withMods((mods | Accessor) &~ (CaseAccessor | Implicit | Given))
+ ).withMods((mods | Accessor) &~ (CaseAccessor | Implicit | Given | Lazy))
162
Thicket(vdef, setter)
163
}
164
else vdef
0 commit comments