config.ml icon indicating copy to clipboard operation
config.ml copied to clipboard

Support @@cfg in function branches

Open leostera opened this issue 1 year ago • 2 comments

Currently, this is unsupported:

let foo a = function
  | 0 -> "0"
  | 1 -> "1"
  [@@cfg (disable=true)]

And the expected behavior is that we can remove that function branch with the annotation.

leostera avatar Feb 27 '24 22:02 leostera

This will get addressed in https://github.com/ocaml-sys/config.ml/pull/13. @leostera you can assign this to me.

KFoxder avatar Mar 05 '24 13:03 KFoxder

@leostera I think this too can be closed now

KFoxder avatar Apr 15 '24 17:04 KFoxder