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 16 years ago

Last modified 16 years ago

#717 closed doubt

error instantiating a Class just afert including the definition — at Initial Version

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: OOP Implementation
Component: OOP Version: 2.0.1
Severity: trivial Keywords: #Embed
Cc: javipor@…

Description

Create a file 'def_A.tol' with this contents:

================= def_A.tol =================
Class A
{

Real a = 1

};

A a;
================ def_A.tol ===================

if you compile it works as expected but if we instantiate 'A a' in other file where def_A is included then TOL emit and error. In order to reproduce bug use the attached files and compile test_A.tol.

Change History (2)

Changed 16 years ago by Jorge

Attachment: def_A.tol added

Changed 16 years ago by Jorge

Attachment: test_A.tol added
Note: See TracTickets for help on using tickets.