Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fc1943s committed Jul 2, 2024
1 parent 5bd9de8 commit a1d587e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Fable.Transforms/Rust/Fable2Rust.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4063,14 +4063,6 @@ module Util =
let ctx = { ctx with IsAssocMember = true }
let name = splitLast membName

let body =
if memb.IsInstance && not (memb.IsConstructor) then
let ident = makeIdent selfName
let thisArg = makeIdentExpr (rawIdent "self")
Fable.Let(ident, thisArg, body)
else
body

let fnDecl, fnBody, genArgs =
let parameters = memb.CurriedParameterGroups |> List.concat
transformFunc com ctx parameters (Some name) args body
Expand Down

0 comments on commit a1d587e

Please sign in to comment.