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

#227 closed defect (fixed)

Reasignation operator := crashes when object doesn't exist

Reported by: Javier Portugal Owned by: danirus
Priority: normal Milestone:
Component: Kernel Version: head
Severity: critical Keywords:
Cc:

Description

When we write
Real variableQueNoExiste := 0;
tolbase (and also tol.exe) chashs .

Change History (3)

comment:1 Changed 20 years ago by danirus

Status: newassigned

comment:2 Changed 20 years ago by danirus

Resolution: fixed
Status: assignedclosed

Just resolved.
I left a null pointer operation there when I resolved the bug 218.

I also just apply an enhancement suggested by Javier in the spanish Tol User
List, that let us code like this:

_
Caso 1
Real a1 = 1;
Real a1:= 0;
-> Always allowed

Caso 2
Real a2 = 1;
Text b2 = "Texto";
Real a2:= 0;
-> Now allowed

Caso 3
Real a3 = 1;
Text b3 = "Texto";
Real (a3:= 0);
-> Dirty code always allowed

Now all of them works.

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_000227
Note: See TracTickets for help on using tickets.