-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
code:
def procFrom
Proc.new
end
aProc = procFrom { "hello" }
aProc.call
throw the exception:
Exception in thread "main" java.lang.NullPointerException
at
com.xruby.runtime.value.RubyProc.isDefinedInAnotherBlock(RubyProc.jav
a:30)
at t.main.run(t.rb)
at com.xruby.runtime.lang.RubyProgram.invoke(RubyProgram.java:19)
at com.xruby.runtime.lang.RubyProgram.invoke(RubyProgram.java:14)
at com.xruby.Main.run(Main.java:120)
at com.xruby.Main.main(Main.java:67)
Original issue reported on code.google.com by zhangyu8...@gmail.com on 28 Apr 2007 at 1:39