Closed markspanbroek closed 1 year ago
Give a better compiler error when calling without with an error identifier that is not an identifier.
without
This can happen when a user types something like this:
without foo =? bar(), error + 1: # "error + 1" is not an identifier discard
Or when a template is evaluated before the without macro is evaluated:
template err = "some string" without foo =? bar(), err: # "some string" is not an identifier discard
Fixes #39
Give a better compiler error when calling
without
with an error identifier that is not an identifier.This can happen when a user types something like this:
Or when a template is evaluated before the
without
macro is evaluated:Fixes #39