Merlin 3.4.0 seems unhappy with -error-style short where 3.3.9 was ok. In cases where dune contains (flags (... -error-style short), the emacs integration issues warnings about -error-style being an unknown flag.
I'm sorry but I don't have time to construct a small repro right now, I can try later if the root cause isn't clear.