Opened 16 years ago
Last modified 16 years ago
#752 closed defect
crash when loading oza containing instances without Class definition — at Version 1
Reported by: | Jorge | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | highest | Milestone: | OOP Implementation |
Component: | OOP | Version: | head |
Severity: | major | Keywords: | |
Cc: |
Description (last modified by )
Evaluate file1.tol in one tol session then in other session evaluate file2.tol, the session 2 will fail with a segmentation fault because Class A is not defined.
file1.tol
============================
Class A { Real v = 1 }; A objA; Real Ois.Store( [[ objA ]], "/tmp/objA.oza" );
file2.tol, to be executed in other sesion
===========================================
Set Include( "/tmp/objA.oza" );
Note: See
TracTickets for help on using
tickets.