﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
40	Parser mistakes when the code contains a Struct that hasn´t been defined previously	imendez	danirus	"In the code:

//////////////
Real a = 4;
Set sPartSim = [[  PartidoSimuladoSt[[  ""VLL"", ""VAL"",  -2.0000,   1.0000 ]] ]];
Real b = 5;
//////////////

the parser returns a writing error:

//////////////
ERROR: Argumento SetOfAnything fuera de lugar en línea 2 y columna 36:

LINEA 
   2 > Real a = 4;
                                        	^
   3 : Set sPartSim = [[  PartidoSimuladoSt[[  ""VLL"", ""VAL"",  -2.0000,   1.0000 ]] ]];
   4 : Real b = 5;
   5 : 
//////////////

Curiously, If you write it with parenthesis '()' instead of double hooks '[]', the 
parser does what it should do, showing an error like this:

//////////////
ERROR: PartidoSimuladoSt no es un operador de tipo Anything

ERROR: Argumentos erróneos para Set SetOfAnything (Anything var1 [, Anything 
var2, ...])

ERROR: sPartSim no se pudo crear.
//////////////

and finally, if you use double hooks '[]' when employing a Struct but you define it 
previously, the parser does not show any mistake


The question is: must be possible to write a Struct with double hooks '[]'?"	defect	closed	normal		Kernel	head	normal	invalid		
