Re: [heycam/webidl] Declaring modules in WebIDL (#592)

Yeah, this is definitely an area of the PR that needs work; how partial interfaces in partial modules actually accumulate the right members (and not members outside the module) is another. I'm thinking to define both partials and name resolution imperatively as building blocks in separate PRs to make this possible.

As for a notion of fully qualified name, how would [qualified name](https://heycam.github.io/webidl/#qualified-name) be? This is what determines the name for `@@toStringTag`, but it seems like it'd be unique enough to me.

Do you think there are ever use cases where you'd shadow a name defined globally with one that's local to a module, and still want to refer to the global one within that module? If not, we can save ourselves a bit of hassle by not needing to define IDL syntax for these cases.

-- 
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-469812572

Received on Tuesday, 5 March 2019 18:53:40 UTC