Commit 9f9d70cf authored by Johannes Mey's avatar Johannes Mey
Browse files

generate less code for serializer

parent 5808ffc1
...@@ -805,9 +805,11 @@ aspect NameResolutionHelper { ...@@ -805,9 +805,11 @@ aspect NameResolutionHelper {
r.generateContextDependentNameResolution(sb); r.generateContextDependentNameResolution(sb);
} }
for (TypeDecl decl : getTypeDeclList()) { if (resolverHelper) {
decl.generateContextIndependentNameResolution(sb); for (TypeDecl decl : getTypeDeclList()) {
sb.append("\n"); decl.generateContextIndependentNameResolution(sb);
sb.append("\n");
}
} }
sb.append("}\n\n"); sb.append("}\n\n");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment