浏览代码

[python] remove invalid case

Dan Korostelev 10 年之前
父节点
当前提交
b9f6471c35
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      genpy.ml

+ 0 - 2
genpy.ml

@@ -1235,8 +1235,6 @@ module Printer = struct
 					   see: https://github.com/HaxeFoundation/haxe/issues/2952
 					   see: https://github.com/HaxeFoundation/haxe/issues/2952
 					*)
 					*)
 					(* Printf.sprintf "(%s %s %s)" (print_expr pctx e1) (fst ops) (print_expr pctx e2) *)
 					(* Printf.sprintf "(%s %s %s)" (print_expr pctx e1) (fst ops) (print_expr pctx e2) *)
-				| TInst({cl_path = [],("str")}, []),TInst({cl_path = [],("str")}, []) when (is_type1 "" "str") (e.etype)->
-					Printf.sprintf "(%s %s %s)" (print_expr pctx e1) (fst ops) (print_expr pctx e2)
 				| TInst({cl_path = [],("list")},_), _ ->
 				| TInst({cl_path = [],("list")},_), _ ->
 					Printf.sprintf "(%s %s %s)" (print_expr pctx e1) (fst ops) (print_expr pctx e2)
 					Printf.sprintf "(%s %s %s)" (print_expr pctx e1) (fst ops) (print_expr pctx e2)
 				| TDynamic _, TDynamic _ ->
 				| TDynamic _, TDynamic _ ->