Bug #1797: trace instruction not generated by compiler
http://redmine.ruby-lang.org/issues/show/1797

Author: Mark Moseley
Status: Open, Priority: Normal
ruby -v: 1.9.1

With the following code:

1: def foo
2:   a = 5
3:   return a
4: end

No trace instruction is generated for line 3.

If line 3 is just "a", without the return, then it functions as expected.


----------------------------------------
http://redmine.ruby-lang.org