0
Vote

Optimizer bug

description

Expression
 
def A = unfold(100,100,100,(i,j,k)=>ijk)
A[10,20,30]
 
Causes following output
 
Compile complete (0:0:1.124000)
Object reference not set to an instance of an object.
 
Stack Trace:    at Faml.Optimization.ExpressionOptimizer.Optimize() in E:\BS\Microsoft Lab\Faml\Faml Sources\Faml.Compiler\Optimization\ExpressionOptimizer.cs:line 51
   at Faml.Compiler.FamlProgram.MakeGlobalOptimization() in E:\BS\Microsoft Lab\Faml\Faml Sources\Faml.Compiler\Frontend\FamlProgram.cs:line 169
   at Faml.Compiler.FamlProgram.Evaluate() in E:\BS\Microsoft Lab\Faml\Faml Sources\Faml.Compiler\Frontend\FamlProgram.cs:line 117
   at VisualFaml.Form1.Eval(FamlProgram faml) in E:\BS\Microsoft Lab\Faml\Faml Sources\VisualFaml\Form1.cs:line 196

comments