caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Merlin complaining about let%test
@ 2018-06-22 18:17 Paul A. Steckler
  2018-06-22 19:58 ` Gary Trakhman
  0 siblings, 1 reply; 4+ messages in thread
From: Paul A. Steckler @ 2018-06-22 18:17 UTC (permalink / raw)
  To: Ocaml Mailing List

When using the Jane St inline testing framework, Merlin in Emacs
complains about each "let%test" instance, citing "uninterpreted
extension 'test'".

Is there a way to make that warning disappear?

-- Paul

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Merlin complaining about let%test
  2018-06-22 18:17 [Caml-list] Merlin complaining about let%test Paul A. Steckler
@ 2018-06-22 19:58 ` Gary Trakhman
  2018-06-28 20:15   ` Paul A. Steckler
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Trakhman @ 2018-06-22 19:58 UTC (permalink / raw)
  To: Paul A. Steckler; +Cc: Ocaml Mailing List

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

I've seen errors like this and here are some things to check:
Are you running a too old version of merlin?
Is your .merlin file calling ppx's correctly? (it's tricky but
jbuilder/dune does a good job with this).

On Fri, Jun 22, 2018 at 2:19 PM Paul A. Steckler <steck@stecksoft.com>
wrote:

> When using the Jane St inline testing framework, Merlin in Emacs
> complains about each "let%test" instance, citing "uninterpreted
> extension 'test'".
>
> Is there a way to make that warning disappear?
>
> -- Paul
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

[-- Attachment #2: Type: text/html, Size: 1371 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Merlin complaining about let%test
  2018-06-22 19:58 ` Gary Trakhman
@ 2018-06-28 20:15   ` Paul A. Steckler
  2018-06-29  9:04     ` Frédéric Bour
  0 siblings, 1 reply; 4+ messages in thread
From: Paul A. Steckler @ 2018-06-28 20:15 UTC (permalink / raw)
  To: Gary Trakhman; +Cc: Ocaml Mailing List

I'm using the latest Merlin in OPAM for 4.06.1.

The code is compiled with jbuilder. Do I have to hand-massage the .merlin file?

On Fri, Jun 22, 2018 at 3:58 PM, Gary Trakhman <gary.trakhman@gmail.com> wrote:
> I've seen errors like this and here are some things to check:
> Are you running a too old version of merlin?
> Is your .merlin file calling ppx's correctly? (it's tricky but jbuilder/dune
> does a good job with this).
>
> On Fri, Jun 22, 2018 at 2:19 PM Paul A. Steckler <steck@stecksoft.com>
> wrote:
>>
>> When using the Jane St inline testing framework, Merlin in Emacs
>> complains about each "let%test" instance, citing "uninterpreted
>> extension 'test'".
>>
>> Is there a way to make that warning disappear?
>>
>> -- Paul
>>
>> --
>> Caml-list mailing list.  Subscription management and archives:
>> https://sympa.inria.fr/sympa/arc/caml-list
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Merlin complaining about let%test
  2018-06-28 20:15   ` Paul A. Steckler
@ 2018-06-29  9:04     ` Frédéric Bour
  0 siblings, 0 replies; 4+ messages in thread
From: Frédéric Bour @ 2018-06-29  9:04 UTC (permalink / raw)
  To: Paul A. Steckler; +Cc: Gary Trakhman, Ocaml Mailing List

The escaping scheme used by Merlin & Jbuilder are not compatible in the current versions, so it happens that paths in the .merlin file are not interpreted in the right way.

Can you share the .merlin file (at least the parts related to ppx)? (A pastebin or a private message will do, to avoid adding noise to the mailing-list).

> On Jun 28, 2018, at 10:15 PM, Paul A. Steckler <steck@stecksoft.com> wrote:
> 
> I'm using the latest Merlin in OPAM for 4.06.1.
> 
> The code is compiled with jbuilder. Do I have to hand-massage the .merlin file?
> 
> On Fri, Jun 22, 2018 at 3:58 PM, Gary Trakhman <gary.trakhman@gmail.com> wrote:
>> I've seen errors like this and here are some things to check:
>> Are you running a too old version of merlin?
>> Is your .merlin file calling ppx's correctly? (it's tricky but jbuilder/dune
>> does a good job with this).
>> 
>> On Fri, Jun 22, 2018 at 2:19 PM Paul A. Steckler <steck@stecksoft.com>
>> wrote:
>>> 
>>> When using the Jane St inline testing framework, Merlin in Emacs
>>> complains about each "let%test" instance, citing "uninterpreted
>>> extension 'test'".
>>> 
>>> Is there a way to make that warning disappear?
>>> 
>>> -- Paul
>>> 
>>> --
>>> Caml-list mailing list.  Subscription management and archives:
>>> https://sympa.inria.fr/sympa/arc/caml-list
>>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>>> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-29  9:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-22 18:17 [Caml-list] Merlin complaining about let%test Paul A. Steckler
2018-06-22 19:58 ` Gary Trakhman
2018-06-28 20:15   ` Paul A. Steckler
2018-06-29  9:04     ` Frédéric Bour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).