Sha256: 255e412468e08ccfbb7244a15430961dd5443dcdbc3e7c12aa2a01ac7e001464
Contents?: true
Size: 352 Bytes
Versions: 10
Compression:
Stored size: 352 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, ::A>), method=foo foo() n end end
Version data entries
10 entries across 10 versions & 1 rubygems