Skip to content

Commit

Permalink
Merge pull request #1248 from tk0miya/fix_typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
soutaro authored Oct 3, 2024
2 parents f5f57fc + c2c518a commit d05fac6
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 d05fac6

Please sign in to comment.