Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions