Low-level reflection API for setting position of generated terms. #17849
rssh
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Need to expose
setPos
to the macro level.Typical situation - when we have macro wrapped some chunk of code.
which is transformed into something generated at the top-level:
generation(expr1, expr2, expr3).
then when we try to retype the received expression and receive an error, our error is always the beginning of the chunk.
With the ability to set the position of generated symbols, the author of macro libraries will provide better diagnostics.
Beta Was this translation helpful? Give feedback.
All reactions