Artifact 5503461b63d901b177c7528b8f04d712aa327f3f:
- File tests/pkg/samename.tcl — part of check-in [356f51f836] at 2000-01-27 19:48:29 on branch trunk — * tests/pkg/samename.tcl: test file for bug #1983 * tests/pkgMkIndex.test: * library/package.tcl: Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling situations with two procs by the same name but in different namespaces (ie, foo::baz and bar::baz). (user: ericm size: 381) [more...]
package provide football 1.0 namespace eval ::pro:: { # # export only public functions. # namespace export {[a-z]*} } namespace eval ::college:: { # # export only public functions. # namespace export {[a-z]*} } proc ::pro::team {} { puts "go packers!" return true } proc ::college::team {} { puts "go badgers!" return true }