Project#task doesn't work for "absolute" task names
---------------------------------------------------

                 Key: BUILDR-152
                 URL: https://issues.apache.org/jira/browse/BUILDR-152
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.3.2
            Reporter: Ittay Dror
             Fix For: 1.3.3


when Project#task handles a name starting with ':' it defines the task in the 
global (empty) scope. However, because it is done inside a block, the assigning 
to the 'task' variable is limited to the block. When the block ends, the task 
variable outside is nil.

to fix, set 'task = nil' before going inside the block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to