Skip to content

Decompiler Feature Request: support TupleGet expressions #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
Example 1:

source <@ let a,b = (1,2) in a,b @>

produces

let patternInput = (1, 2) in let b = TupleGet (patternInput, 1) in let a = 
TupleGet (patternInput, 0) in (a, b)

(notice that patternInput expressions are a special case to be addressed at 
another time).

Example 2:

let t = (1,2)
source <@ let a,b = t in a,b @>

produces

let b = TupleGet (PropertyGet (None, System.Tuple`2[System.Int32,System.Int32] 
t, []), 1) in let a = TupleGet (PropertyGet (None, 
System.Tuple`2[System.Int32,System.Int32] t, []), 0) in (a, b)

Original issue reported on code.google.com by stephen....@gmail.com on 15 Feb 2011 at 1:25

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