﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
120	A redifinition in an internal variable is shown as redefinition in a global variable	request	danirus	"// A redifinition in an internal variable is shown as redefinition in a global variable


// A function definition that could be done in very internal file
Real MyFun(Real axisX, Real axisY)
{
  axisY = 8; // Erroneus redefinition
  axisX + axisY
};


/* a lot of code ... */




Real GlobalVariableAlfa = 1;
Real GlobalVariableBeta = 2;

Real Result = MyFun(GlobalVariableAlfa, GlobalVariableBeta);

// The error is:
// ERROR: Variable 'GlobalVariableBeta' is already defined in  :
// .../err/error200408-sinenviar1.tol
// And must be:
// ERROR: Variable 'axisY' is already defined in  :
// and the path of the file


// If MyFun() is declared in other file, the error shows the main
// file path where GlobalVariableBeta is declared


// With this error message the programmer look for a GlobalVariableBeta
// redefinition not for a problem inside a function."	defect	closed	normal		Kernel	head	minor	fixed		
