Kill all assert false
in printer
#1658
Labels
Printer
things that have to do with turning an AST into Reason code
assert false
in printer
#1658
There are way too many of them, and they give really bad error messages to the user, e.g. #1611.
assert false
should really only be used when the condition can't be achieved. Everything else should beInvalid_argument
. We look super lazy with our error handling otherwiseThe text was updated successfully, but these errors were encountered: