Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
initialization of instance variables
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Whitley <whitley@c...>
Subject: initialization of instance variables

I'm curious as to why class instance variable definitions cannot be
used in following instance variable definitions, only in methods and
initializers.  Is this an implmentation-driven restriction, or is
there some more subtle semantics-based reason to prevent this?

-- John