Project

General

Profile

Actions

Bug #1797

closed

trace instruction not generated by compiler

Added by mark-moseley (Mark Moseley) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
1.9.1
[ruby-core:24463]

Description

=begin
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.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0