When the game can't parse a predicate in a data pack, it will show the following error:
Couldn't parse loot table namespace:fooCouldn't parse loot table namespace:fooIf there is both a loot table and a predicate with that name, this can lead to confusion.
Confirmed. I attached a test datapack.