Sha256: d9e2ec431751403bd336cc165f7ef7e9e8bc0e993033bcaf6caeafb6fe77adbd
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
# @type var x: Integer | String | Symbol x = (_ = nil) case x when Integer, String # !expects NoMethodError: type=(::Integer | ::String), method=foobar x.foobar() end case x == (_ = 1) when Integer # !expects NoMethodError: type=(::Integer | ::String | ::Symbol), method=foobar x.foobar end case x when 1 # !expects NoMethodError: type=1, method=foobar x.foobar end case x when String # !expects@+2 IncompatibleAnnotation: var_name=x, ::Integer <: ::String # @type var x: Integer x + 1 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
steep-0.39.0 | smoke/type_case/a.rb |