Boo

Anonymous blocks and pass doesn't mix

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.8.2, 0.9
  • Fix Version/s: 0.9
  • Component/s: Compiler
  • Labels:
    None
  • Number of attachments :
    0

Description

On 0.8.2 booish, I executed the following:

>>>def foo(a as callable()):
... print a is null
...
>>>foo:
... print 'a'
...
False
>>>foo
Input3Module.foo
>>>foo:
... pass
...
Input3Module.foo

I would expect the output to be call to the method with an empty delegate.

Activity

Hide
Rodrigo B. de Oliveira added a comment -

Fixed in the repository. Thanks for the report!

Show
Rodrigo B. de Oliveira added a comment - Fixed in the repository. Thanks for the report!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: