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

Well, something like that was my original intuition for namespaces as well, but we ended up going with an extended attribute in https://github.com/heycam/webidl/pull/425 ; I was trying to copy that convention. I'd be fine with this instead, though it may be more work in parsers to make it work:

```
module "std::foo" {
  double sum(double x, double y);
  interface Bar { }
}
```

Should namespaces use this pattern too, for `[LegacyNamespace]`? (I guess I'm not sure where to say "legacy", then...)

Partial modules sound important too, I agree.

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

Received on Tuesday, 4 December 2018 17:50:06 UTC