Open whitequark opened 10 years ago
A good test case for this problem:
[%expr fun x -> [%e Exp.variant (int_encoding typ) [%expr (Int64.to_string x)]]]
+1 Absolutely
This would be awesome, if it just allowed you to pass in a single location that all the generated ast's would share.
@Charlesetc That's already there; see https://github.com/alainfrisch/ppx_tools/blob/master/ppx_metaquot.ml#L28-L38
Just saw that! True - thanks
Right now the type errors are confusing: