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

Decompiler Feature Request: name TupleGet pattern match value using "itemX" instead of "indexX" #20

Closed
GoogleCodeExporter opened this issue Jun 21, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

e.g., instead of 

    source <@ let a,b = t in a,b @> =? 
        "let b = (let _,index1 = t in index1) in let a = (let index0,_ = t in index0) in (a, b)"

sprint as follows to better align with position based paradigm of tuples:

    source <@ let a,b = t in a,b @> =? 
        "let b = (let _,item2 = t in item2) in let a = (let item1,_ = t in item0) in (a, b)"

note: using lower-case "item" instead of upper-case (compared to underlying 
tuple property) since pattern match bindings should use lower-case.

Original issue reported on code.google.com by stephen....@gmail.com on 13 Mar 2011 at 1:55

@GoogleCodeExporter
Copy link
Author

Original comment by stephen....@gmail.com on 13 Mar 2011 at 2:01

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by stephen....@gmail.com on 17 Mar 2011 at 4:18

  • Added labels: Milestone-Release1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant