Skip to content

Commit

Permalink
Merge pull request #705 from HoneyryderChuck/fix-caller
Browse files Browse the repository at this point in the history
fixed signature of caller
  • Loading branch information
pocke authored Jul 11, 2021
2 parents e8d52c0 + bbfe035 commit f653b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/kernel.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
module Kernel : BasicObject
private

def self?.caller: (?Integer start_or_range, ?Integer length) -> ::Array[String]?
| (?::Range[Integer] start_or_range) -> ::Array[String]?
def self?.caller: (Integer start_or_range, ?Integer length) -> ::Array[String]?
| (::Range[Integer] start_or_range) -> ::Array[String]?
| () -> ::Array[String]

def self?.caller_locations: (?Integer start_or_range, ?Integer length) -> ::Array[Thread::Backtrace::Location]?
Expand Down

0 comments on commit f653b55

Please sign in to comment.