filbert
filbert copied to clipboard
Empty dict should be false in conditional
if {}: # Should evaluate to false (does not work)
if {1: 2}: # Should evaluate to true (works)
Note that bool() evaluates dict correctly in filbert; the issue seems to just be with conditionals.
Probably a similar fix to #46, which has more details on a possible solution.