close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#324 closed defect (fixed)

constantes

Reported by: lalonso Owned by: danirus
Priority: normal Milestone:
Component: Various Version: head
Severity: blocker Keywords:
Cc:

Description

al incluirse las costantes pone

Real FALSO = False;
Real Falso = False;

Real CIERTO = True;
Real Cierto = True;

al conpilar sale
ERROR: False no es un objeto valido para el tipo Real.

ERROR: Falso no se pudo crear.

ERROR: True no es un objeto valido para el tipo Real.

ERROR: Cierto no se pudo crear.

Si pones
Real FALSO = false;
Real Falso = FALSO;

Real CIERTO = true;
Real Cierto = CIERTO;

lo hace bien.

Change History (3)

comment:1 Changed 20 years ago by imendez

Hi,

I think the problem is that, when you create an object 'X' and another object
'Y' referred to 'X', TOL destroys the first one. Thus, when you create a third
object 'Z' referred to 'X', TOL can't find it. I can show it with an example:

Real X = 4;
No problem
Real Y = X;
No problem
Real Z = X;
X doesn't exist!!!

Regards.

comment:2 Changed 20 years ago by danirus

Resolution: fixed
Status: newclosed

Hi fellows,
Excuse me for this behavior. I just fixed the problem. I'm working in Objects
Serialization and that was part of some improvements in those I'm involved.
Thanks Angeles for explaining me the problem in Jabber. I was working hard and I
didn't realize...

It has been fixed. For those you using CVS, the only one file involved in the
problem is oprimp.cpp. In fact, there is only one line affected in CreateObject
function.

Sorry, Daniel

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000324
Note: See TracTickets for help on using tickets.