SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
287 stars 25 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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