Yes, indeed is a wrong error message. It's fixed in trunk. Many thanks Thomas! On Thu, Jun 7, 2012 at 2:51 PM, Thomas LEDUC <thomas.leduc@xxxxxxxxxxxxxx> wrote: > Dear GGL2 developers and users, > > I fear I've found a small bug. Let's assume I want to declare and > initialize 'myArray' as a sequence of Strings. If I start writing: > myArray = []; > > in the GGL2 editor, the compiler produces an error and suggests to > modify the instruction: > Empty sequences require a specific type. Example: "[of int]" > > But it's wrong. The right instruction is: > myArray = [as int]; > > Best regards, > > Le vendredi 11 mai 2012 à 12:47 +0200, Fernando Gonzalez a écrit : >> Hi, a new GGL2 version has been published. >> >> Many bugs have been fixed and some optimisations have been done as a >> result of the GGL2 course in the gvSIG association training platform. >> >> Also, the join expression has been improved to make it more easy to >> use and the command line tool has been improved as well. >> >> The language is quite complete now so we expect produce the first beta >> version in the following months. >> >> Regards. >> > > -- > Thomas LEDUC > > UMR CNRS/MCC 1563 - Laboratoire CERMA > Tel : +33 (0) 240 597 599 --- Fax : +33 (0) 240 591 177 > ensa Nantes - 6, quai F. Mitterrand - BP 16202 - F-44262 NANTES cedex 2 > > http://ambiances2012.sciencesconf.org - http://3u3d2012.sciencesconf.org > > >