In BuckleScript the FFI might be like this:
external foo: document = "document" [@@bs.val]
Merlin warns on the first document that identifier must be a function. Is it possible to relax this requirement?
the patch we applied:
basically if the external is annotated with bs, we loose such restriction
This seems minor, we relaxed the check in latest version.