diff options
author | Paul Phillips <paulp@improving.org> | 2012-12-05 12:49:21 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-12-05 17:55:55 -0800 |
commit | 96fa31d0a3cf7ff401f9197cd0e12acd296e55b1 (patch) | |
tree | 1b6a876f276988886b41e47f8f41b3f83e5764b8 /src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala | |
parent | 9547753a80fab450c842cb4a9a8296aa41875ff3 (diff) | |
download | scala-96fa31d0a3cf7ff401f9197cd0e12acd296e55b1.tar.gz scala-96fa31d0a3cf7ff401f9197cd0e12acd296e55b1.tar.bz2 scala-96fa31d0a3cf7ff401f9197cd0e12acd296e55b1.zip |
Expunged the .net backend.
It lives on in a branch born from this commit's parent.
It's abrupt; no attempt is made to offer a "smooth transition"
for the serious msil userbase, population zero. If anyone feels
very strongly that such a transition is necessary, I will be
happy to talk you into feeling differently.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala b/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala index 3ac5d388d3..8e2a1fc5dc 100644 --- a/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala +++ b/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala @@ -201,8 +201,7 @@ trait MethodSynthesis { ) def beanAccessors(vd: ValDef): List[DerivedFromValDef] = { val setter = if (vd.mods.isMutable) List(BeanSetter(vd)) else Nil - if (forMSIL) Nil - else if (vd.symbol hasAnnotation BeanPropertyAttr) + if (vd.symbol hasAnnotation BeanPropertyAttr) BeanGetter(vd) :: setter else if (vd.symbol hasAnnotation BooleanBeanPropertyAttr) BooleanBeanGetter(vd) :: setter @@ -521,9 +520,6 @@ trait MethodSynthesis { } protected def enterBeans(tree: ValDef) { - if (forMSIL) - return - val ValDef(mods, name, _, _) = tree val beans = beanAccessorsFromNames(tree) if (beans.nonEmpty) { |