Sha256: 43331048a2a346a36d7121f195bfcdf14d2f47b906c68adf7f884543743d3f71

Contents?: true

Size: 349 Bytes

Versions: 11

Compression:

Stored size: 349 Bytes

Contents

def foo(x)
  x
end

alias bar foo

class Test
  def baz(x)
    x
  end

  alias qux baz
end

foo(1)
bar("str")
Test.new.baz(1)
Test.new.qux("str")

__END__
# Classes
class Object
  private
  def foo: (Integer | String x) -> (Integer | String)
  alias bar foo
end

class Test
  def baz: (Integer | String x) -> (Integer | String)
  alias qux baz
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/alias.rb
typeprof-0.15.3 smoke/alias.rb
typeprof-0.15.2 smoke/alias.rb
typeprof-0.15.1 smoke/alias.rb
typeprof-0.15.0 smoke/alias.rb
typeprof-0.14.1 smoke/alias.rb
typeprof-0.14.0 smoke/alias.rb
typeprof-0.13.0 smoke/alias.rb
typeprof-0.12.0 smoke/alias.rb
typeprof-0.11.0 smoke/alias.rb
typeprof-0.10.0 smoke/alias.rb