Version française
Home     About     Download     Resources     Contact us    
Browse thread
Search for the smallest possible possible Ocaml segfault....
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stefano Zacchiroli <zack@b...>
Subject: Re: [Caml-list] Search for the smallest possible possible Ocaml segfault....
On Thu, Nov 08, 2007 at 11:17:08AM -0500, Till Varoquaux wrote:
>  > This class should be virtual. The following variables are undefined : x
> It would have been a good contender for the shorter bug.

Not here:

  $ cat a.ml
  !((object val virtual x:_ method x = x end)#x)
  $ ocamlc a.ml 
  $ ./a.out 
  Segmentation fault
  $ ocamlc -version
  3.10.0

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time