Sha256: 0f0b1603df5e7159c70771af37a4c6448857bab8833521dc6a2ba85f2c9ea27d
Contents?: true
Size: 450 Bytes
Versions: 32
Compression:
Stored size: 450 Bytes
Contents
# @type var a: Integer # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String a = -> (x, y) do # @type var x: String # @type var y: String x + y end["foo", "bar"] # @type var b: ^(Integer) -> Integer # !expects IncompatibleAssignment: lhs_type=^(::Integer) -> ::Integer, rhs_type=::Proc b = lambda do |x| # !expects NoMethodError: type=nil, method=+ x + 1 end # @type var c: ^(Integer) -> Integer c = -> (x) { x + 1 }
Version data entries
32 entries across 32 versions & 1 rubygems