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