History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-610
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Cameron Kenneth Knight
Votes: 0
Watchers: 0
Operations

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

Optional return on inline closures.

Created: 17/Nov/05 11:43 PM   Updated: 21/Nov/05 09:16 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 0.7.5

Time Tracking:
Not Specified

Issue Links:
dependent
 


 Description  « Hide
Current:

func = {i as int | return i*5}

Possible alternative:

func = {i as int | i*5}



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Doug H - 18/Nov/05 08:16 AM
and implicit it parameter
{it*2} == {it | return it*2}

Rodrigo B. de Oliveira - 18/Nov/05 01:21 PM
Please, add implicit parameters as another issue so we can discuss it better.

Doug H - 18/Nov/05 01:55 PM
There already is an issue for it, 466

Cameron Kenneth Knight - 21/Nov/05 09:07 AM
Why is this marked as Fixed? I checked the SVN and it doesn't work.

Shouldn't this be then marked as Won't Fix or Postponed?


Cameron Kenneth Knight - 21/Nov/05 09:16 AM
Ok, I was confused.

{x|x} doesn't work, though {x|return x} and {x|x + 1} do.