Methods cannot be invoked from within list comprehensions
-
Philipp Pirozhkov
works fine
class A def bar(x) x.map{|z| foo(z)} def foo(y) y @@ -
Tony Arcieri
- Title changed from inline call to a class method fails to compile to Methods cannot be invoked from within list comprehensions
Ugh, another scope where issues occur accessing hidden ivar state.
Not sure of a good solution to this one either.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.