diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index 157263d9cc..477c69cad2 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -464,7 +464,7 @@ trait Namers { self: Analyzer => context.error(vd.pos, "`BeanProperty' annotation can only be applied "+ "to non-private fields") else { - val flags = (mods.flags & (DEFERRED | OVERRIDE | STATIC)) | SYNTHETIC + val flags = mods.flags & (DEFERRED | OVERRIDE | STATIC) val beanName = name(0).toString.toUpperCase + name.subName(1, name.length) val getterName = if (hasBoolBP) "is" + beanName |