Skip to content

Commit

Permalink
[Truffle] Call #caller_locations on Kernel n #caller.
Browse files Browse the repository at this point in the history
* Fixes #2979.
  • Loading branch information
eregon committed May 23, 2015
1 parent 0472e2d commit 0667de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truffle/src/main/ruby/core/kernel.rb
Expand Up @@ -24,7 +24,7 @@ def caller(start = 1, limit = nil)
else
args = [start, limit]
end
caller_locations(*args).map(&:inspect)
Kernel.caller_locations(*args).map(&:inspect)
end
module_function :caller

Expand Down

0 comments on commit 0667de4

Please sign in to comment.