frabbit 10 lat temu
rodzic
commit
9f6ed30666
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      genpy.ml

+ 1 - 1
genpy.ml

@@ -1612,7 +1612,7 @@ module Printer = struct
 				if has_feature pctx "haxe.Log.trace" then begin
 					"haxe_Log.trace(" ^ (print_expr pctx e) ^ "," ^ (print_expr pctx infos) ^ ")"
 				end else begin match e.eexpr with
-				| TConst(TString(s)) -> "print(" ^ (print_expr pctx e) ^ ")"
+				| TConst(TString(_)) -> "print(" ^ (print_expr pctx e) ^ ")"
 				| _ -> "print(str(" ^ (print_expr pctx e) ^ "))"
 				end
 			| TField(e1,((FAnon {cf_name = (("join" | "push" | "map" | "filter") as s)}) | FDynamic (("join" | "push" | "map" | "filter") as s))), [x] ->