Re: [heycam/webidl] Disambiguate / explain maplike vs record (#303)

> In an draft I saw a return value of e.g. maplike<unsigned short, DataView>

That's .... not a thing.  As in, that's not even valid IDL as a _return value_.

I understand where you're coming from in terms of them looking similar in some ways.   But the key difference is the one that wasn't meaningful to you: maplike is an annotation on an interface while record is a type.  And I'm not sure how to make it meaningful absent an understanding of what a "type" is in this context, which seems to be the situation you were in.  :(

-- 
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/303#issuecomment-278367694

Received on Wednesday, 8 February 2017 15:53:49 UTC