gitgabrio commented on issue #1350:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1350#issuecomment-2271356661

   @yesamer @baldimir 
   Reading spec:
   
   > An iteration context may either be an expression that returns a list of 
elements, or two expressions that return
   integers connected by “..”. Examples of valid iteration contexts are:
   • [ 1, 2, 3]
   • a list
   • 1..10
   • 50..40
   • x..x+10
   • @”2021-01-01”..@”2022-01-01”
   
   and
   
   > for i in [i1,i2], j in [j1j2] return e = [ r1, r2, r3, r4 ]
   
   it seems that this expression is wrong
   `for x in [ 1, 2, 3, 4 ], y in x return y` (x is always a number)
   
   but his should work
   
   `for x in [ [1,2], [3,4] ], y in x return y` (x is alway a list)
   
   Unfortunately, it seems that our implementation is expecting only statically 
defined lists.
   
   I'm digging further...
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to