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