Sha256: ff92b3a497ddd8042114ed7a81d5246a1fffc94f684c71e9fca3ee275c19168b
Contents?: true
Size: 830 Bytes
Versions: 1
Compression:
Stored size: 830 Bytes
Contents
--- test: a.rb: diagnostics: - | a.rb:3:0: [error] Cannot assign a value of type `::String` to a variable of type `::Integer` │ ::String <: ::Integer │ ::Object <: ::Integer │ ::BasicObject <: ::Integer │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ a = -> (x, y) do ~~~~~~~~~~~~~~~~ - | a.rb:11:4: [error] Type `nil` does not have method `+` │ Diagnostic ID: Ruby::NoMethod │ └ x + 1 ~ - | a.rb:10:0: [error] Cannot assign a value of type `::Proc` to a variable of type `^(::Integer) -> ::Integer` │ ::Proc <: ^(::Integer) -> ::Integer │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ b = lambda do |x| ~~~~~~~~~~~~~~~~~
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
steep-0.40.0 | smoke/lambda/test.yaml |