Sha256: 73812b800edb3145afb7ba2c46305155e26bceda495f69141f21c5b82fc89627
Contents?: true
Size: 561 Bytes
Versions: 3
Compression:
Stored size: 561 Bytes
Contents
def read_test_1 Foo.new.reader_example end def read_test_2 Foo.new.accessor_example end def write_test Foo.new.writer_example = 1 Foo.new.writer_example = "str" Foo.new.accessor_example = 1 Foo.new.accessor_example = "str" end __END__ # Errors smoke/rbs-attr.rb:11: [warning] inconsistent assignment to RBS-declared global variable smoke/rbs-attr.rb:13: [warning] inconsistent assignment to RBS-declared global variable # Classes class Object private def read_test_1: -> Integer def read_test_2: -> Integer def write_test: -> String end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.9.2 | smoke/rbs-attr.rb |
typeprof-0.9.1 | smoke/rbs-attr.rb |
typeprof-0.9.0 | smoke/rbs-attr.rb |