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

op_Pipe precedence too low #113

Closed GoogleCodeExporter closed 3 years ago

GoogleCodeExporter commented 9 years ago
e.g. decompile <@ 2 |> id = 2 @> is

"(2 |> id) = 2"

but should be

"2 |> id = 2"

since |> and = have the same precedence are are left associative.

implementation note: see symbolicOps table in ExtraReflection.fs

Original issue reported on code.google.com by stephen....@gmail.com on 17 Jun 2015 at 4:38