English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
object type error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-19 (08:44)
From: Michael Wohlwend <micha-1@f...>
Subject: object type error

why do I often get this error message? 

( type xxx is a class type and the other class implements this interface)

This expression has type
  < (* many methods *); .. >
but is here used with type xxx
Self type cannot be unified with a closed object type
I try to get rid of them by adding random type declarations which I mostly 
don't understand :-), but that's not the solution.

What is the reason for that message?