﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
580	crash errors related to decompilation and MakeGlobal	Pedro Gea	Víctor de Buen Remiro	"I usually find critical errors in TolBase 1.1.6 that make TOL to crash.

They are very difficult to reproduce. But I suppose that 
they are related to the incorrect compilation/decompilation of variables.

I think also that there are some problems with the scope or visibility 
of the variables.

I have found some examples of this kind of errors.
I hope that they can be useful to identify bugs.

__ error1.tol _______________________________________
// Just compile
Real { MakeGlobal(Real a = 3); 0 };
Real a;
_____________________________________________________

__ error2.tol _______________________________________
// Compile, decompile and compile again.
Set x = [[ Real a = 1 ]];
NameBlock d = SetToNameBlock(x);
NameBlock d = SetToNameBlock(x);
_____________________________________________________"	defect	closed	highest		Various	1.1.6	blocker	fixed		Iván Robles Pedro Gea
