[Bug 18420] New: Cycles via dictionary members should probably be prohibited

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18420

           Summary: Cycles via dictionary members should probably be
                    prohibited
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: bzbarsky@mit.edu
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Consider this IDL:

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

or even simpler:

  dictionary Dict1 {
    Dict1 member;
  };

This should probably be disallowed, since there's no sane way to do it.

-- 
Configure bugmail: https://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 Friday, 27 July 2012 01:45:14 UTC