- From: Boris Zbarsky <notifications@github.com>
- Date: Tue, 18 Dec 2018 06:27:40 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 December 2018 14:28:02 UTC
Gecko already doesn't do that in some cases. For example, all the WebGL interfaces are in one file, for various reasons. The file splitting behavior is more or less a convenience; conceptually IDL is all a single chunk of "stuff". Sometimes one wants a separate file for an interface, sometimes a separate file for just a dictionary, etc. In a C++ codebase this is all complicated by the restrictive `#include` mechanism, which might force or prevent specific file splittings... I do agree that if we allow splitting a namespace across multiple files then that is conceptually not _that_ much different than extended attributes on an implementation level, since you end up having to create a canonical object representing the namespace scope and then tying all the pieces to it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/592#issuecomment-448238514
Received on Tuesday, 18 December 2018 14:28:02 UTC