1 #// objective: tests correct namespace resolution, only references/referencedby relations are relevant
2 #// check: namespacen1.xml
3 #// check: namespacen2.xml
4 #// check: namespacen3.xml
5 #// config: REFERENCED_BY_RELATION = yes
6 #// config: REFERENCES_RELATION = yes
7 #// config: EXTRACT_ALL = yes
8 #// config: INLINE_SOURCES = yes
10 # now: combine namespace eval and qualified names
13 array set info [info frame 0]; puts -nonewline ->$info(proc)
18 array set info [info frame 0]; puts -nonewline ->$info(proc)
23 array set info [info frame 0]; puts -nonewline ->$info(proc)
28 # same thing, but fully qualified proc names
29 namespace eval ::n2 {}
30 namespace eval ::n2::n2 {}
32 array set info [info frame 0]; puts -nonewline ->$info(proc)
37 array set info [info frame 0]; puts -nonewline ->$info(proc)
40 proc ::n2::n2::p2 args {
41 array set info [info frame 0]; puts -nonewline ->$info(proc)
44 # same thing, without leading ::
46 namespace eval n3::n3 {}
48 array set info [info frame 0]; puts -nonewline ->$info(proc)
53 array set info [info frame 0]; puts -nonewline ->$info(proc)
56 proc n3::n3::p2 args {
57 array set info [info frame 0]; puts -nonewline ->$info(proc)
60 # now, check with tcl what is called