summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Namers.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-06-07 15:49:22 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-06-07 15:49:22 +0000
commit139d4300d8073514a4825eb390fe083bc483989f (patch)
tree0a24d6a639dc6918fddfec9b7506c6fa062abe8e /src/compiler/scala/tools/nsc/typechecker/Namers.scala
parent8e8beb0cdc6c929341c94d742f8fc0e53352f0bb (diff)
downloadscala-139d4300d8073514a4825eb390fe083bc483989f.tar.gz
scala-139d4300d8073514a4825eb390fe083bc483989f.tar.bz2
scala-139d4300d8073514a4825eb390fe083bc483989f.zip
made bean getters/setters non-synthetic (-> acc...
made bean getters/setters non-synthetic (-> accessible from java)
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Namers.scala2
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