caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] virtual instance variables
Date: Thu, 28 Jun 2007 14:47:59 +0100	[thread overview]
Message-ID: <200706281447.59377.jon@ffconsultancy.com> (raw)
In-Reply-To: <4683B8DC.3020700@ed.ac.uk>

On Thursday 28 June 2007 14:34:20 Jeremy Yallop wrote:
> Should this be considered a bug?
>
>     # (object val virtual c : float method m = c end) # m;;
>     Segmentation fault

Yes:

$ ocaml
        Objective Caml version 3.09.1

# (object val virtual c : float method m = c end) # m;;
Syntax error

$ ocaml
        Objective Caml version 3.10.0

# (object val virtual c : float method m = c end) # m;;
Signal -10

and what is signal -10?! :-)

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
The OCaml Journal
http://www.ffconsultancy.com/products/ocaml_journal/?e


  reply	other threads:[~2007-06-28 13:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-28 13:34 Jeremy Yallop
2007-06-28 13:47 ` Jon Harrop [this message]
2007-06-28 13:48   ` [Caml-list] " Vincent Hanquez
2007-06-28 14:48 ` Jacques Garrigue
  -- strict thread matches above, loose matches on Subject: below --
2007-05-18 18:50 micha
2007-05-21  6:04 ` [Caml-list] " Jacques Garrigue

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=200706281447.59377.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --cc=caml-list@yquem.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).