Flee Expression Compile Exception

0

I'm using Flee.Ciloci for a long time now and trying the dotnet core port here But I'm unable to understand why this expression doesnt compile.

Min(17500, (__TT03 * 35)/1000)

The error message is :

unexpected character ',', on line: 1 column: 10 unexpected token ")", expected , on line: 1 column: 30

Meaning commas are not accepted as parameters separator.

Here is an extract of the stack when the error prompts :

Flee.PublicTypes.ExpressionCompileException HResult=0x80131500 Source=Flee.NetStandard20 StackTrace: at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.CalcEngine.PublicTypes.CalculationEngine.Add(String atomName, String expression, ExpressionContext context) at Lbi.PayFon.AppBusiness.Calculs.EvaluateEltManager.BuildExprArray(String code, String descript, String expr) in D:\MyWorkingDir\PayFon\aspnet-core\src\Lbi.PayFon.Core\AppBusiness\Calculs\EvaluateEltManager.cs:line 292 at Lbi.PayFon.AppBusiness.Calculs.EvaluateEltManager.InitExprEngine() in D:\MyWorkingDir\PayFon\aspnet-core\src\Lbi.PayFon.Core\AppBusiness\Calculs\EvaluateEltManager.cs:line 206 at Lbi.PayFon.AppBusiness.Calculs.GenerationAppService.GenrateEntries() in D:\MyWorkingDir\PayFon\aspnet-core\src\Lbi.PayFon.Application\AppBusiness\Calculs\GenerationAppService.cs:line 23 at Microsoft.Extensions.Internal.ObjectMethodExecutor.<>c__DisplayClass33_0.b__0(Object target, Object[] parameters) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__12.MoveNext()

Can somebody help ?

Abdourahmani

exception
compilation
flee
asked on Stack Overflow Jun 2, 2018 by Abdourahmani

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0