View difference between Paste ID: RtDMwt1n and 9zuiHF2Z
SHOW: | | - or go back to the newest paste.
1-
2.3.4 Multiname (Multiple Namespace Name)
1+
2.3.6 Resolving multinames
2-
This is a multiname with a name and a namespace set. The namespace set is used to represent a collection of
2+
If the multiname has a namespace set, then the object is searched for any properties whose name is the same as the multinames name, and whose namespace matches any of the namespaces in the multinames namespace set.
3-
namespaces. Multiname entries will have a name index followed by a namespace set index. The name index is
3+
Since the multiname may have more than one namespace, there could be multiple properties that match the
4-
an index into the string constant pool, and the namespace set index is an index into the namespace set constant
4+
multiname. If there are multiple properties that match a TypeError is raised since it is ambiguous which
5-
pool.
5+
property the multiname is referring to. If no properties match, then the multiname is unresolved on that object.