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