Skip to content

Commit

Permalink
fitsinto: remove unnecessary is_pi
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Dec 9, 2023
1 parent d1740fa commit f128a3b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions evaluator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,6 @@ add_comparer("value.tuple_type", "value.tuple_type", function(a, b)
return true
end)
add_comparer("value.pi", "value.pi", function(a, b)
if not a:is_pi() and b:is_pi() then
error "both arguments must be pis"
end
if a == b then
return true
end
Expand Down

0 comments on commit f128a3b

Please sign in to comment.