Multiple assignment of class variables does not match normal class var
assignment logic
---------------------------------------------------------------------------------------
Key: JRUBY-1241
URL: http://jira.codehaus.org/browse/JRUBY-1241
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.0.0
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.0
{noformat}
class Bar
class << self
@@foo = {}
def yay
return [1,2,3], { 'key' => 'value' }
end
def huh
y, @@foo = yay
p @@foo
y, @@foo = [1,2,3], {'key' => 'value'}
p @@foo
end
end
end
Bar.huh
{noformat}
This is just a place where class var assignment was not migrated correctly
after Tom's cref work. Fix pending.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email