I believe that test 3 and 4 are not right because of the singleton rule: I believe that that rule for singleton lists (When the type of the expression is T and the target type is List the expression is converted to a singleton list. ) applies.
The same expression for test 4: for element in 1 return element * 2 returns [2]
The behavior should not be different for the boxed version
I believe that test 3 and 4 are not right because of the singleton rule: I believe that that rule for singleton lists (When the type of the expression is T and the target type is List the expression is converted to a singleton list. ) applies.
The same expression for test 4:
for element in 1 return element * 2
returns [2]The behavior should not be different for the boxed version