Details

    • Number of attachments :
      0

      Description

      The JRuby has some issue with eval (my guess) where it passes incorrect arguments.

      Here is the example:
      https://gist.github.com/1402753

      Sorry for the vague description. But at least I did report it, right?

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Works in IR, fails in JIT and AST on current master.

        Show
        Charles Oliver Nutter added a comment - Works in IR, fails in JIT and AST on current master.
        Hide
        Charles Oliver Nutter added a comment -

        FWIW, that means it's an execution problem, not likely a problem with instance_eval itself.

        Show
        Charles Oliver Nutter added a comment - FWIW, that means it's an execution problem, not likely a problem with instance_eval itself.
        Hide
        Charles Oliver Nutter added a comment -

        Reduced case:

        system ~/projects/jruby2 $ rvm 1.9.3 do ruby -e "Class.new.module_exec(&(proc {|x|p x}))"
        nil
        
        system ~/projects/jruby2 $ jruby --1.9 -e "Class.new.module_exec(&(proc {|x|p x}))"
        #<Class:0x47b0e6ae>
        
        Show
        Charles Oliver Nutter added a comment - Reduced case: system ~/projects/jruby2 $ rvm 1.9.3 do ruby -e "Class.new.module_exec(&(proc {|x|p x}))" nil system ~/projects/jruby2 $ jruby --1.9 -e "Class.new.module_exec(&(proc {|x|p x}))" #<Class:0x47b0e6ae>
        Hide
        Charles Oliver Nutter added a comment -

        Fixed on master@eee38a6 and jruby-1_6@f38d5ba

        Show
        Charles Oliver Nutter added a comment - Fixed on master@eee38a6 and jruby-1_6@f38d5ba

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Dmytrii Nagirniak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: