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

#215 closed defect (fixed)

Ceash with Arguments(), FindCode() and Struct

Reported by: request Owned by: danirus
Priority: normal Milestone:
Component: Kernel Version: head
Severity: blocker Keywords:
Cc:

Description

FindCode() looks to work when has to find de constructor function
associated to an Struct, but Arguments() function makes a TOL crash
when receives the Code found.
Be carefully the ploblem could be at FindCode() function.

Struct StTest
{

Text field01,
Real field01

};

Text args = Arguments(FindCode("StTest","Set"));

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

This bug has been resolved.
The problem was a possible null pointer returned from FindCode.
Arguments function should control that possible result. Now it does.

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