W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 16536] Redundant statement

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Mar 2012 13:54:20 +0000
To: public-script-coord@w3.org
Message-Id: <E1SCWqq-0000Ge-2b@jessica.w3.org>

--- Comment #1 from Marcos Caceres <w3c@marcosc.com> 2012-03-27 13:54:19 UTC ---
This is what it looks like implemented:

function toBoolean(V){
        //Let x be the result of computing ToBoolean(V).
        var x = ECMAScript.ToBoolean(V); 

        //Return the IDL boolean value that is the one that represents the same
truth value as the ECMAScript Boolean value x.
        return x; 

        //The IDL boolean value true is converted to the ECMAScript true value
and the IDL boolean value false is converted to the ECMAScript false value.     

So you can see that the last sentence just dangles there :)  Another idea would
be to move it above the steps, so it sets up what is about to be implemented.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 27 March 2012 13:54:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:06 UTC