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   Resolved: 18/Nov/05 01:21 PM
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}



Doug H added a comment - 18/Nov/05 08:16 AM

and implicit it parameter
{it*2} == {it | return it*2}


Rodrigo B. de Oliveira added a comment - 18/Nov/05 01:21 PM

Please, add implicit parameters as another issue so we can discuss it better.


Doug H added a comment - 18/Nov/05 01:55 PM

There already is an issue for it, 466


Cameron Kenneth Knight added a comment - 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 added a comment - 21/Nov/05 09:16 AM

Ok, I was confused.

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