Sha256: a99d041bde1699289c24f91432cedca2a4d876c5141d1145dca7762e7b294018

Contents?: true

Size: 448 Bytes

Versions: 45

Compression:

Stored size: 448 Bytes

Contents

# @type var x: String
# @type var y: Integer

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer
x = 1

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Symbol
x = :foo

# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String
y = "foo"

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=bool
x = true
# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=bool
y = false

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
steep-0.39.0 smoke/literal/a.rb
steep-0.38.0 smoke/literal/a.rb
steep-0.37.0 smoke/literal/a.rb
steep-0.36.0 smoke/literal/a.rb
steep-0.35.0 smoke/literal/a.rb
steep-0.34.0 smoke/literal/a.rb
steep-0.33.0 smoke/literal/a.rb
steep-0.32.0 smoke/literal/a.rb
steep-0.31.1 smoke/literal/a.rb
steep-0.31.0 smoke/literal/a.rb
steep-0.30.0 smoke/literal/a.rb
steep-0.29.0 smoke/literal/a.rb
steep-0.28.0 smoke/literal/a.rb
steep-0.27.0 smoke/literal/a.rb
steep-0.25.0 smoke/literal/a.rb
steep-0.24.0 smoke/literal/a.rb
steep-0.23.0 smoke/literal/a.rb
steep-0.22.0 smoke/literal/a.rb
steep-0.21.0 smoke/literal/a.rb
steep-0.20.0 smoke/literal/a.rb