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

Support NewDelegate expressions #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
e.g., currently falls back on ToString:

> source <@ (System.Func<int,int>(fun i -> i + 1)) @>;;
val it : string =
  "NewDelegate (System.Func`2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],
             i,
             Call (None, Int32 op_Addition[Int32,Int32,Int32](Int32, Int32),
                   [i, Value (1)]))"

Original issue reported on code.google.com by stephen....@gmail.com on 27 Feb 2011 at 5:06

GoogleCodeExporter commented 9 years ago
This needs to implemented for the evaluator, decompiler, and reducer

Original comment by stephen....@gmail.com on 5 Jul 2011 at 3:40