Fix ICE in macros

The error message is extremely unideal.