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

[Bug 20836] What happens when a dictionary references itself?

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 Jan 2013 17:59:00 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20836-3890-YhoK5Y2C9A@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20836

--- Comment #4 from Fran├žois REMY <francois.remy.dev@outlook.com> ---
Okay, thanks for the check. Actually, it makes sense. 

However, I'm still not completely secured: even if we add something smart
enough to restrict value-type loops in the WebIDL graph, you can't avoid the
'any' type to cause the same issue, right?

Are there any dictionary out there with an 'any' or 'object' field? If not, we
could simply mark it invalid, too and I can just decide that I can safely
ignore this problem as it's impossible to get into this situation.

In fact, I can do it even if it's actually possible but I would feel dirty ^_^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 31 January 2013 17:59:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:09 UTC