technique-lang/technique

Tuple of variables doesn't seem to register

istathar opened this issue · 0 comments

This input procedure:

% technique v0
! AllRightsReserved; (c) 1979 Douglas Adams

    question q,p : Question,People -> Answer
    {
        @deep_thought
        {
            m = raise_capital p
            a = compute q,m
            [
                "Life, The Universe, and Everything" ~ a
            ]
        }
    }

results in an error:

tests/Broken.t:8:31

            m = raise_capital p
                              ^

Variable 'p' not in scope.

and it should not. Possibly expressions in a tuple aren't being recursed? Neither q nor p were reported in scope by the compiler.