your example in the previous message made me think. what will parrot
do if a parrot sub declares the :outer subpragma, and the sub to which
it refers doesn't have a lexical pad? something like:

        .sub do_add3
                .const .Sub add3 = "add3"
                $P1 = newclosure add3
                $P1()
        .end

        .sub add3 :anon :outer(do_add3)
                .return ($P1)
        .end

compile error? runtime error? warning only, and error on lexical
access in inner sub?
~jerry

Reply via email to