Fix constructor and non allman
This commit is contained in:
@@ -62,7 +62,7 @@ impl MistCodegen {
|
||||
self.addln("");
|
||||
self.add_indentedln("{");
|
||||
} else {
|
||||
self.add(" {");
|
||||
self.addln(" {");
|
||||
}
|
||||
|
||||
self.indent += 1;
|
||||
|
||||
@@ -307,8 +307,8 @@ impl GenMist for TopLevelKind {
|
||||
}
|
||||
param.gen_mist(ctx, cg);
|
||||
}
|
||||
cg.addln(") ");
|
||||
cg.add_indented("");
|
||||
cg.add(") ");
|
||||
cg.start_indent();
|
||||
constructor.item.body.gen_mist(ctx, cg);
|
||||
cg.addln("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user