Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Download (126 Bytes)
Bug #10586
» code2.rb
Reproducible code (as in Description) -
tmpvar (Daisuke Kobayashi)
, 12/11/2014 03:56 AM
def
foo
;
1
;
end
p
foo
#=> 1
eval
'p foo'
#=> nil (NG)
def
bar
;
1
;
end
p
bar
#=> 1
eval
'p bar'
#=> 1 (OK)
foo
=
1
#<- bug trigger
« Previous
1
2
Next »
(2-2/2)
Loading...