Ganesh Venkateshwara <tovgan...@yahoo.co.in> wrote on 01/12/2010 05:57:15 
PM:

> Hi,
> 
> I am compiling a program with SVN-Head that used to work with 2.0 
> release. Every thing except the classes which have overridden 
> toString() methods compile. Though this is not critical, would like to
> know if some semantics have changed?
> 
> The error I get is similar to the following:
> 
> 
>  public toString(): x10.lang.String in Molecule cannot override global
> native public safe toString(): x10.lang.String in x10.lang.Object; 
> attempting to assign weaker behavioral annotations

Hi, Ganesh,

The toString() method has been changed to be global and safe.  Any
overriding method now has to have these qualifiers.
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to