﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
107	No clear error: Type mismatch Real / Set	request	danirus	"// No clear error: Type mismatch Real / Set

// The following functions try to return a set instead a Real
// The first one writes a clear error: set is not an object of type Real
// The second one no


Real ClearError(Real n)
{
  Set set = For(1, n, Real(Real x) { x + 1 });
  set
};


Real NoClearError(Real n)
{
  Set forCic = For(1, n, Real(Real x) { x + 1 })
};


Text WriteLn(Repeat(""-"",30));
Real goodFun = ClearError(3);

Text WriteLn(Repeat(""-"",30));
Real badFun  = NoClearError(3);"	enhancement	closed	normal		Kernel	head	minor	fixed		
