caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alex Baretta <alex@barettadeit.com>
To: Luc Maranget <luc.maranget@inria.fr>, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Fragile pattern matching?!
Date: Mon, 28 Feb 2005 11:49:24 +0100	[thread overview]
Message-ID: <4222F734.8070905@barettadeit.com> (raw)
In-Reply-To: <20050228103959.GA31015@yquem.inria.fr>

Luc Maranget wrote:

> 
> Hello,
> 
> The warning (which you do not supply) attempt to be informative.
> 
> # ocamlc -w A alex.ml
> File "alex.ml", line 13, characters 4-5:
> Warning E: this pattern is fragile. It would hide
> the addition of new constructors to the data types it matches.

Got it! Makefile brain-damage on our part. We messed with the 
enabled/disable warnings and all of a sudden, without meaning to do it, 
we enable the E warning. This is why the warning, which used not to be 
flagged, suddenly began appearing.

Alex


-- 
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL

tel. +39 02 370 111 55
fax. +39 02 370 111 54

Our technology:

The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>

The FreerP Project
<http://www.freerp.org/>


      reply	other threads:[~2005-02-28 10:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-28 10:17 Alex Baretta
2005-02-28 10:32 ` [Caml-list] " Keith Wansbrough
2005-02-28 10:35   ` Alex Baretta
2005-02-28 10:39 ` Luc Maranget
2005-02-28 10:49   ` Alex Baretta [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=4222F734.8070905@barettadeit.com \
    --to=alex@barettadeit.com \
    --cc=caml-list@inria.fr \
    --cc=luc.maranget@inria.fr \
    /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).