Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Oct 1, 2024
1 parent 8ebbb39 commit c2c518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/steep/type_construction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ def synthesize(node, hint: nil, condition: false)
if first_param = block.type&.params&.first_param
var_type = first_param.type #: AST::Types::t
else
var_type - AST::Builtin.any_type
var_type = AST::Builtin.any_type
end
end
end
Expand Down

0 comments on commit c2c518a

Please sign in to comment.