Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Michael Wohlwend <micha-1@f...>
Subject: object type error
Hi,

why do I often get this error message? 

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

----------------------Error:
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?

cheers,
 Michael