Skip to content

Commit

Permalink
print size
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Feb 22, 2024
1 parent 166ef8b commit 8e2674d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/steep/subtyping/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def check(relation, constraints:, self_type:, instance_type:, class_type:)

def check_type(relation)
Steep.logger.fatal { "assumptions.class = #{assumptions.class}" }
Steep.logger.fatal { "assumptions.size = #{assumptions.size}" }
if assumptions.size > ABORT_LIMIT
return Failure(relation, Result::Failure::LoopAbort.new)
end
Expand Down

0 comments on commit 8e2674d

Please sign in to comment.