class Main { static function main() {} } generated Main.main = function () { } instead of Main.main = function () { }; (Another JSHint error)
@@ -883,7 +883,6 @@ let gen_class_static_field ctx c f =
ctx.id_counter <- 0;
print ctx "%s = " path;
gen_value ctx e;
- ctx.separator <- false;
newline ctx;
handle_expose ctx path f.cf_meta
| _ ->