Hi, With the current release, the following simple array creation code val d = (0..10)->Place.FIRST_PLACE; val a = Array.make[Double](d, (p:Point) => { return 0; });
gives the following compile time error. It seems that the make function is not overloaded for distribution. Method make[T](x10.lang.Region, (x10.lang.Point{_self8035.rank==region.rank}){}=> T) in x10.lang.Array cannot be called with arguments [x10.lang.Double](x10.lang.Dist{_self7467==d, d.region.rect==true, d.region.rank==1, d.region.zeroBased==true}, (x10.lang.Point){}=> x10.lang.Int{_self25==0}); Call invalid; actual parameter of type |x10.lang.Dist{_self7467==d, d.region.rect==true, d.region.rank==1, d.region.zeroBased==true}| cannot be assigned to formal parameter type |x10.lang.Region| Please comment. Mohsen ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users