Franco Ponticelli 15 anni fa
parent
commit
fee99e30f7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -1165,7 +1165,7 @@ and gen_expr ctx e =
 					| TThrow _ 
 					| TBlock _ ->
 						gen_expr ctx e
-					| TReturn Some e1 ->
+					| TReturn (Some e1) ->
 						(match e1.eexpr with
 						| TIf _
 						| TSwitch _