-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format macro #897
base: master
Are you sure you want to change the base?
Format macro #897
Conversation
d89ae4e
to
5545515
Compare
One question I had: this works somewhat unpleasantly with strings at the moment, because
becomes I could look up type information and handle strings differently, but that feels ugly. Perhaps we should add a |
4ea2798
to
728e9d9
Compare
Type information isn't available at macro expansion (though I have thought about adding a second macro expansion step which does have that capability). Having a |
Added a I now support Now, arbitrary expressions that do not contain braces or
Let me know whether you agree that this is a good idea. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some test failures related to display
not being imported but otherwise LGTM 👍
Hi, could there be any chance this PR could get traction? being able to interpolate strings sounds really useful |
Includes changes from #896
Addresses #664
This is a preliminary PR to help diagnose why this isn't working. I am happy to accept discussion/changes to how the macro works.