Hi,
why is the following program valid X10?
public class Test {
public static def main(Array[String]) {
val v = GlobalRef[Cell[Int]](new Cell[Int](100));
at (v) Console.OUT.println(v());
}
}
The language specification clearly states that "the PlaceExp must be an
expression of type Place or some subtype". GlobalRef is clearly not a
subtype of Place. Is this supported for backwards compatibility
reasons? If yes, are there plans to deprecate it?
Thanks,
Manuel
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users