Sha256: 47b779670b9a116e808d68fc51aa19e60a62e0e86744ed32576549291566d3c3

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 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
  attr_accessor a() : untyped
end

class Foo < AnonymousStruct_generated_1
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typeprof-0.8.0 smoke/struct.rb
typeprof-0.7.0 smoke/struct.rb
typeprof-0.6.1 smoke/struct.rb
typeprof-0.6.0 smoke/struct.rb
typeprof-0.5.4 smoke/struct.rb