Issue 11385 - XXX is a nested function and cannot be accessed from XXX

http://d.puremagic.com/issues/show_bug.cgi?id=11385