W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2009

[Bug 5332] [UPD] Parentheses around () or fn:error()

From: <bugzilla@wiggum.w3.org>
Date: Tue, 28 Apr 2009 12:38:11 +0000
To: public-qt-comments@w3.org
Message-Id: <E1LymZf-0002Fr-NF@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5332





--- Comment #19 from Jonathan Robie <jonathan.robie@redhat.com>  2009-04-28 12:38:11 ---
How about this definition, which is more explicit:

<snip>
The following expressions are defined by this specification to be "vacuous
expressions": 

* An empty parenthesized expression ( ) is a vacuous expression. 
* A call to the built-in function fn:error is a vacuous expression.
* If all branches are vacuous expressions, the typeswitch expression is a
vacuous expression.
* If both branches are vacuous expressions, the conditional expression is a
vacuous expression.
* If all operands are vacuous expressions, the comma expression is a vacuous
expression.

These expressions can be determined statically to always return an empty
sequence or raise an error.
</snip>


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 28 April 2009 12:38:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:27 UTC