gcfavorites / hiccup

Automatically exported from code.google.com/p/hiccup
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Procs eval in current ns, not originating. #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
proc is_glob {} { return 1 }  

proc check_global {} { is_glob }

namespace eval boo {
proc is_glob {} { return 0 }
}

checkthat [namespace eval boo { check_global }] == 1

# Currently, check_global is evaluated in ns boo, should be in global

Original issue reported on code.google.com by consa...@gmail.com on 30 Jun 2008 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by consa...@gmail.com on 7 Jul 2008 at 8:49