summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources/scalac/ast/TreeGen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java
index d8f61d27de..8f3fae3412 100644
--- a/sources/scalac/ast/TreeGen.java
+++ b/sources/scalac/ast/TreeGen.java
@@ -1245,7 +1245,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags {
clazz.setInfo(Type.compoundType(parentTypes, new Scope(), clazz));
clazz.allConstructors().setInfo(
Type.MethodType(Symbol.EMPTY_ARRAY, clazz.typeConstructor()));
-
+ global.addAttribute(clazz, definitions.SCALA_SERIALIZABLE_CONSTR);
Symbol applyMeth = clazz.newMethod(pos, FINAL, Names.apply)
.setInfo(Type.MethodType(params, restype));
clazz.info().members().enter(applyMeth);