<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20458</bug_id>
          
          <creation_ts>2012-12-20 09:24:09 +0000</creation_ts>
          <short_desc>4.2.22: converting IDL value to IDL type?</short_desc>
          <delta_ts>2014-01-27 17:01:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>[v1]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80433</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2012-12-20 09:24:09 +0000</bug_when>
    <thetext>In &quot;4.2.22. Nullable types -- T?&quot;,
in the IDL-&gt;ECMAscript conversion,
the second bullet says:

    Otherwise, the ECMAScript value is the result of converting the
    IDL nullable type value to the inner IDL type T.

which incorrectly implies that you can get an ECMAScript value when you convert
an IDL value to an IDL type.

I think you need to change:
    to the inner IDL type T
to:
    using the rules for the inner IDL type T

Or perhaps change the whole bullet to something like:

    Otherwise, the IDL value must be a value of the nullable type&apos;s
    inner type T. The ECMAScript value is the result of converting
    the IDL value using the rules for T.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99165</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2014-01-27 17:01:24 +0000</bug_when>
    <thetext>Thanks, the &quot;using the rules for&quot; wording is good.

https://github.com/heycam/webidl/commit/848b0c60effcf585f442a7899ba958b05c833929</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>