You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we have mutual recursion we can put [@@deriving in multiple places. The compiler generates decent code any way, but for IDE only placing attribute after first type gives decent result on hover. Also, it seems not to depend on the PPX code: both qcheck and show give similar issues.
(* good ... *)typea =
| A
| Bofb
[@@deriving show]
andb = Cofa(* bad (* ppx deriving expansion *) ;;show let _ = fun (_ : b) -> () ;;"-39" let () = Ppx_inline_test_lib.unset_lib "miniml" let () = Expect_test_collector.Current_file.unset ()*)typeexpr = Nil | Cofname*exprandname = { a: expr;b: expr }
[@@deriving qcheck2]
Is it a missed case from #1245 ?
I tried 1.18.0, the last one for OCaml 4.14
The text was updated successfully, but these errors were encountered:
When we have mutual recursion we can put
[@@deriving
in multiple places. The compiler generates decent code any way, but for IDE only placing attribute after first type gives decent result on hover. Also, it seems not to depend on the PPX code: both qcheck and show give similar issues.Is it a missed case from #1245 ?
I tried 1.18.0, the last one for OCaml 4.14
The text was updated successfully, but these errors were encountered: