HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/ruby/gems/3.0.0/gems/typeprof-0.12.0/smoke/block-ambiguous.rb
def f1
  yield :a, :b, :c
end
def log1(x); end
f1 {|x| log1(x) }

def f2
  yield :a, :b, :c
end
def log2(x); end
f2 {|x,| log2(x) }

def f3
  yield [:a, :b, :c]
end
def log3(x); end
f3 {|x| log3(x) }

def f4
  yield [:a, :b, :c]
end
def log4(x); end
f4 {|x,| log4(x) }

__END__
# Classes
class Object
  private
  def f1: { (:a, :b, :c) -> nil } -> nil
  def log1: (:a x) -> nil
  def f2: { (:a, :b, :c) -> nil } -> nil
  def log2: (:a x) -> nil
  def f3: { ([:a, :b, :c]) -> nil } -> nil
  def log3: ([:a, :b, :c] x) -> nil
  def f4: { ([:a, :b, :c]) -> nil } -> nil
  def log4: (:a x) -> nil
end