caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Ivan Gotovchits <ivg@ieee.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] strange complier messages
Date: Wed, 19 Jun 2013 13:34:01 +0200	[thread overview]
Message-ID: <CAPFanBHHAh5ThG=W+Y12g-tFJ7MEmDtVCOE4eQJi_sT7jaX-tA@mail.gmail.com> (raw)
In-Reply-To: <87ppvicqqy.fsf@golf.niidar.ru>

This is not a bug in the type-checker: the error messages are correct
but badly formulated and confusing. This is discussing in the
following butracker item:
  http://caml.inria.fr/mantis/view.php?id=5878

On Wed, Jun 19, 2013 at 12:57 PM, Ivan Gotovchits <ivg@ieee.org> wrote:
>
> Is it ok for a compiler to emit such messages:
>
>    Error: This expression has type ex#0 but an expression was expected of type
>             ex#0
>           The type constructor ex#0 would escape its scope
>
> or maybe this is a bug? I'm not sure...
>
> P.S. ocaml 4.00.1.
>
> --
>          (__)
>          (oo)
>    /------\/
>   / |    ||
>  *  /\---/\
>     ~~   ~~
> ...."Have you mooed today?"...
>
> --
> 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

      reply	other threads:[~2013-06-19 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19 10:57 Ivan Gotovchits
2013-06-19 11:34 ` Gabriel Scherer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPFanBHHAh5ThG=W+Y12g-tFJ7MEmDtVCOE4eQJi_sT7jaX-tA@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=ivg@ieee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).