Re: completed A-620-4 (make Expr optional in a couple spots)

On 15-10-22 05:15 AM, Michael Kay wrote:
>
>>
>> -- In QT3, in prod/DirElemContent.xml, test case K2-DirectConElemContent-26:
>>       <elem>content{}content</elem>
>>    needs to be split into pre-3.1 and 3.1+ versions.
>>    (I was somewhat surprised that that was the only test whose syntactic
>>    legality was changed by the grammar, so:)
>>
>> -- We should probably have a couple tests where
>>       FunctionBody -> EnclosedExpr -> {}
>>    (This would be a syntax error for pre-3.1, okay for 3.1+).
>>
>>
>
> I have written/modified tests for this feature and am about to commit them.

Thanks!

However, in the commit to prod/FunctionCall.xml ["Tests for empty
enclosed expressions"], you also added "XP30+" to the <dependency>
for FunctionCall-006, but the <test> has a DirElemConstructor.

-Michael

Received on Thursday, 22 October 2015 15:03:40 UTC