﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1729	Error usando atributos estáticos	Pedro Gea	Víctor de Buen Remiro	"Se ha encontrado un error al utilizar atributos estáticos al fallar la localización del atributo cuando su tipo no está definido en la llamada:
{{{
#!java
Class @A {
  Static Text AS = ""static"";
  Real Length(Real void) {
    WriteLn(""Anything ""<<ObjectExist(""Anything"", ""AS"")); // -> 0
    WriteLn(""Text ""<<ObjectExist(""Text"", ""AS"")); // -> 1
    WriteLn(""B: (1) ""<<AS); // -> Error
    WriteLn(""B: (2) ""<<Text AS); // -> OK
    TextLength(AS)
  }
};
@A a = [[Real _void = 1]];
Real a::Length(?); // -> 6

/*
Anything 0
Text 1

ERROR: [] AS no es un objeto valido para el tipo Anything.

[Call stack]
  [1] Real a::Length (Real void)

ERROR: [] Argumentos erróneos para Text << txt1 << x2  {Text txt1, Anything x2}

[Call stack]
  [1] Real a::Length (Real void)
B: (2) static
*/
}}}"	defect	new	normal	Mantainance	OOP	3.1	normal			
