Sha256: f43787ff944c12db5fc38c4e3a124eb3f5ee6426b821b1194170a6fd94732534

Contents?: true

Size: 313 Bytes

Versions: 9

Compression:

Stored size: 313 Bytes

Contents

# tentative: Currently, the hidden instance variable belongs to Foo, not Anonymous Struct.
# Thus, it outputs "untyped"
class Foo < Struct.new(:a)
end
Foo.new.a = 1
__END__
# Classes
class AnonymousStruct_generated_1 < Struct[untyped]
  attr_accessor a(): untyped
end

class Foo < AnonymousStruct_generated_1
end

Version data entries

9 entries across 9 versions & 1 rubygems

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