Sha256: bc56129297bc88b96d429b63bdede086e075e7626a2649afb5e0ac7341e16ac8
Contents?: true
Size: 353 Bytes
Versions: 13
Compression:
Stored size: 353 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=(::Object & ::_Each2[::Integer, ::A] & ::A), method=foo foo() n end end
Version data entries
13 entries across 13 versions & 1 rubygems