You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is most likely what was intended. I think the remark also suggests that a ground test is
not ok though, so I think I'll leave it as is for now. Nice catch of dubious code though!
The Logtalk linter flags the ground(json) goal as a goal that's always true. This lint check can be fouled, however. It's also flagging elsewhere in the SWI-Prolog library the goal random(2) =:= 0 was always being false 🙃
In the following clause:
packages-pengines/pengines_io.pl
Lines 651 to 658 in 463c373
Do you meant to write instead
ground(Term)
?The text was updated successfully, but these errors were encountered: