Opened 16 years ago
Last modified 16 years ago
#711 closed defect
Creación de Objetos (sin nombre) de una Clase — at Initial Version
Reported by: | Javier Portugal | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | lowest | Milestone: | OOP Implementation |
Component: | OOP | Version: | 2.0.1 |
Severity: | trivial | Keywords: | |
Cc: |
Description
Si intento crear un objeto de una clase pero no le asigno nombre en lugar de crear un objeto de la clase, crea un simple NameBlock
Clase objeto
Class Object
{
Text _.name;
Text GetName(Real void) {
Text _.name
}
};
Creo objeto (Este si es un objeto de la Clase Object)
Object obj1 =
[[
Text _.name = "Objeto 1"
]];
Intento crear objeto sin nombre (es un NameBlock, no es un objeto de la clase Object)
Object
[[
Text _.name = "Objeto 2"
]];