Skip to content

Commit

Permalink
Merge pull request #116 from jonludlam/CA-267461
Browse files Browse the repository at this point in the history
CA-267461: Fix powershell bindings generator for some constructors
  • Loading branch information
Jon Ludlam authored Sep 27, 2017
2 parents 4cf20b5 + c897021 commit f472cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions powershell/gen_powershell_binding.ml
Original file line number Diff line number Diff line change
Expand Up @@ -599,13 +599,13 @@ and explode_record_fields message fields =
let print_map tl hd =
sprintf "
%s = CommonCmdletFunctions.ConvertDictionaryToHashtable(Record.%s);%s"
(exposed_class_name (pascal_case (full_name hd)))
(ocaml_class_to_csharp_property (full_name hd))
(full_name hd)
(explode_record_fields message tl) in
let print_record tl hd =
sprintf "
%s = Record.%s;%s"
(exposed_class_name (pascal_case (full_name hd)))
(ocaml_class_to_csharp_property (full_name hd))
(full_name hd)
(explode_record_fields message tl) in
match fields with
Expand Down

0 comments on commit f472cbf

Please sign in to comment.