Issue Details (XML | Word | Printable)

Key: BOO-1017
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Ayende Rahien
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Anonymous blocks and pass doesn't mix

Created: 21/May/08 08:36 AM   Updated: 22/Jan/09 09:22 AM   Resolved: 21/May/08 10:45 AM
Return to search
Component/s: Compiler
Affects Version/s: 0.8.2, 0.9
Fix Version/s: 0.9

Time Tracking:
Not Specified


 Description  « Hide

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.



Rodrigo B. de Oliveira added a comment - 21/May/08 10:45 AM

Fixed in the repository. Thanks for the report!