Hi, The following code compiles and runs with x10 1.7.6 :
// laplacian.x10 import params; public class laplacian { var p:params = new params(); def this(args : Rail[String]) { p.parse(args); } public static def main(args : Rail[String]) { var l:laplacian = new laplacian(args); } } // params.x10 public class params { var n:Rail[int] = Rail.makeVar[int](3); def parse(args : Rail[String]) { n(0) = int.parseInt(args(0)); n(1) = int.parseInt(args(1)); n(2) = int.parseInt(args(2)); } }; When I try to compile it using svn r11743 (to test the x10mpi runtime), there are 2 kinds of error messages : > laplacian.x10:8: Cannot read fields of the proto value proto laplacian.this > params.x10:7: Place type error: method target args cannot be determined to be > at x10.lang.Place.x10.lang.Place#FIRST_PLACE{} The second one can be removed by adding a "!" near the end of line 5 in params.x10. But I cannot find a solution to the other error. What is the meaning of these messages ? Thanks in advance, Marc ------------------------------------------------------------------------------------ Marc Tajchman Laboratoire de Génie Logiciel et de Simulation Software Engineering and Computer Simulation Laboratory CEA-DEN/DANS/DM2S/SFME/LGLS Tél : +33/1 69 08 73 27 Fax : +33/1 69 08 52 42 mailto:marc.tajch...@cea.fr ------------------------------------------------------------------------------------ Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci d'en avertir immédiatement son émetteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users