Alexander Kuzmenko 8 anos atrás
pai
commit
92b569a10e
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      src/generators/genphp.ml

+ 0 - 2
src/generators/genphp.ml

@@ -1339,8 +1339,6 @@ and gen_expr ctx e =
 	| TContinue ->
 		if ctx.in_loop then spr ctx "continue" else print ctx "continue %d" ctx.nested_loops
 	| TBlock [] when List.length ctx.dynamic_methods = 0 ->
-		let type_name = match ctx.curclass.cl_path with (_, type_name) -> type_name in
-		print_endline (type_name ^ "::" ^ ctx.curmethod ^ " empty block");
 		spr ctx "{}"
 	| TBlock el ->
 		let old_l = ctx.inv_locals in