Faculty of Information Technology
Software Engineering Group

Opened 6 years ago

#146 new todo

Revise RBContainsRule

Reported by: Jan Vrany Owned by:
Priority: major Milestone:
Component: default Keywords: lint ide
Cc: Also affects CVS HEAD (eXept version): yes


In my opinion, RBContainsRule should not bark on following code:

foo: x
    | y |

    y := x detect:[:e | e odd ] ifNone:[ ^ nil ].
    ^ y + 1.   

Compare the implementation with Pharo one.

Change History (0)

Note: See TracTickets for help on using tickets.