summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-10-29 14:55:07 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-10-29 14:55:07 +0000
commit391fea8da0f9916e4c384c164ef5c99f258c29e5 (patch)
treee043ba8e5d3de3e210c682b13e63ccc2e19eb168
parent3d8880746e8dc79fefccb01845878bf06d5f1ae4 (diff)
downloadscala-391fea8da0f9916e4c384c164ef5c99f258c29e5.tar.gz
scala-391fea8da0f9916e4c384c164ef5c99f258c29e5.tar.bz2
scala-391fea8da0f9916e4c384c164ef5c99f258c29e5.zip
Made anonymous classes non-synthetic.
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala b/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala
index 09a37d006d..3218a7c617 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala
@@ -147,7 +147,7 @@ abstract class TreeBuilder {
val x = nme.ANON_CLASS_NAME.toTypeName
Block(
List(ClassDef(
- Modifiers(FINAL | SYNTHETIC), x, List(),
+ Modifiers(FINAL), x, List(),
Template(parents, self, NoMods, List(List()), argss, stats))),
New(Ident(x), List(List())))
}