Eval positioning information from binding is incorrect again.
-------------------------------------------------------------

                 Key: JRUBY-2060
                 URL: http://jira.codehaus.org/browse/JRUBY-2060
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Ola Bini
            Assignee: Thomas E Enebo


Dust depends on this working. A small test case is two files, testFileEval.rb 
and testFileEval2.rb

testFileEval.rb:
{noformat}
def foobar(&block)
  puts("./testEval2.rb" == eval("__FILE__", block.binding))
end

require 'testFileEval2'
{noformat}

testFileEval2.rb:
{noformat}
foobar do 
  puts "hello"
end
{noformat}

This is a regression.

-- 
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

Reply via email to