<?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>18420</bug_id>
          
          <creation_ts>2012-07-27 01:45:13 +0000</creation_ts>
          <short_desc>Cycles via dictionary members should probably be prohibited</short_desc>
          <delta_ts>2012-12-10 05:17:21 +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>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Boris Zbarsky">bzbarsky</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>71557</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-07-27 01:45:13 +0000</bug_when>
    <thetext>Consider this IDL:

  dictionary Dict1 {
    Dict2 member;
  };
  dictionary Dict2 : Dict1 {
  };

or even simpler:

  dictionary Dict1 {
    Dict1 member;
  };

This should probably be disallowed, since there&apos;s no sane way to do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79799</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2012-12-10 05:17:21 +0000</bug_when>
    <thetext>I&apos;ve disallowed all direct and indirect references to the same dictionary:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.576;r2=1.577;f=h</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>