Closed
Description
(Somewhat related to #120 which is about autocompletion of variants in the case of pattern matching.)
There is another common situation where it would be nice to have autocompletion for variants:
Say I have a variant
type action =
| A
| B
| C
and a dispatch
function with signature action => unit
.
Now if I type dispatch(
, it is known that the parameter is of type action and it would be great if A
, B
and C
could be autosuggested.