reason icon indicating copy to clipboard operation
reason copied to clipboard

Merlin is not listed among the dependencies in the opam file

Open martinoluca opened this issue 10 years ago • 11 comments

martinoluca avatar Jan 29 '16 22:01 martinoluca

I think we should wait until the experimental-refacor (so that it can support Reason) is merged and released and use that as a minimum required Merlin version.

yunxing avatar Jan 30 '16 07:01 yunxing

Yes, this was just because @martinoluca was trying to use the quick-n-dirty hack that we did to get Atom working in the mean time. Maybe it won't be long until the hack isn't needed. Either way, I think we need to say that merlin is a dependency of Reason.

jordwalke avatar Jan 30 '16 09:01 jordwalke

It looks like this is already complete? The depends list in opam.in looks like:

depends: [
  "easy-format"  {>= "1.2.0"}
  "ocamlfind"    {build}
  "utop"         {>= "1.17"}
  "menhir"       {>= "20160303"}
  "merlin"       {>= "2.5.0"}
  "merlin-extend"{>= "0.3"}
]

jmmk avatar Dec 18 '16 16:12 jmmk

I actually don't think that merlin should be in the dependencies now. Only merlin-extend. If a project template wants to include merlin as a dependency, that would be a good thing to do there, but no in Reason directly. (We want to remove as many dependencies as we can).

jordwalke avatar Dec 22 '16 10:12 jordwalke

@jordwalke is this related: https://github.com/facebook/reason/pull/892?

jmmk avatar Dec 22 '16 16:12 jmmk

We removed merlin from the dependency list since people should add it as a dev-dependency of their project only if they need it.

yunxing avatar Dec 22 '16 18:12 yunxing

@jmmk Merlin is still listed as a dependency in opam.in and opam, do you mind send a PR and remove it?

yunxing avatar Dec 22 '16 18:12 yunxing

Superseded! We no longer depend on Merlin. Thanks and sorry for taking so long.

chenglou avatar Dec 25 '16 01:12 chenglou

@chenglou does that mean that it should indeed be removed from the opam files?

jmmk avatar Dec 27 '16 19:12 jmmk

oh, yeah I think. @yunxing Merlin isn't needed even by our opam setup anymore, right?

chenglou avatar Dec 27 '16 19:12 chenglou

@chenglou No, let's remove it.

yunxing avatar Dec 28 '16 06:12 yunxing