Sha256: 00c82ab1a4cd97193f2249ce64d7237946f497aa141c677266b18d4d45261c59

Contents?: true

Size: 216 Bytes

Versions: 42

Compression:

Stored size: 216 Bytes

Contents

# @type var x: _Foo
# @type var y: _Bar

x = (_ = nil)
y = (_ = nil)

a = x.foo

# !expects NoMethodError: type=::_Bar, method=foo
b = y.foo

# !expects IncompatibleAssignment: lhs_type=::_Foo, rhs_type=::_Bar
x = y

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
steep-0.7.0 smoke/hello/hello.rb
steep-0.6.0 smoke/hello/hello.rb