Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decompilation contains some useless lines that could / should be eliminated #237

Open
iguerNL opened this issue Jan 10, 2020 · 0 comments
Open

Comments

@iguerNL
Copy link
Contributor

iguerNL commented Jan 10, 2020

[%%entry
  let play (var23 : int) (storage : storage) =
    (let some60 = Some ((Current.sender ()), var23)  in
     let storage_fst61 = storage.(0p)  in
     let res62 =
       match storage_fst61 with
       | None  -> (some60, (None : (address * int) option))
       | Some _ ->
           (match storage.(1p) with
            | None  -> (storage_fst61, some60)
            | Some _ ->
                failwith
                  "Cannot play: Two players have already sent their choices !")
     in
     let _ = res62.(1p)  in
     let _ = res62.(0p)  in (([] : operation list), res62))
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant