Sha256: c5299bafaf912508ed8eb29c2ff72af1ae34a4f0be11570c9d49b8f96b85d1ac
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
# @type var a: Integer # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=(::Array<::String> | ::Integer | ::NilClass | ::String) a = case 1 when 2 1 when 0, 100 ["String"] when 3 nil when 4 else "string" end a = case # !expects ArgumentTypeMismatch: receiver=::Integer, expected=::Integer, actual=::String when 1+"a" (_ = nil) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
steep-0.3.0 | smoke/case/a.rb |
steep-0.2.0 | smoke/case/a.rb |
steep-0.1.0 | smoke/case/a.rb |