Sha256: 1712753acdda06aa2f61cb8d7aa26018e4b54b3a676da60f81a973609f449817
Contents?: true
Size: 345 Bytes
Versions: 6
Compression:
Stored size: 345 Bytes
Contents
module A # @implements A def count # @type var n: ::Integer n = 0 each do |_| n = n + 1 end # @type var s: String # !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer s = n # !expects NoMethodError: type=(::A & ::Object & _Each<::Integer>), method=foo foo() n end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
steep-0.5.1 | smoke/module/a.rb |
steep-0.5.0 | smoke/module/a.rb |
steep-0.4.0 | smoke/module/a.rb |
steep-0.3.0 | smoke/module/a.rb |
steep-0.2.0 | smoke/module/a.rb |
steep-0.1.0 | smoke/module/a.rb |