feat: extend #whats_new to parse without in - #43975
joneugster wants to merge 1 commit into
Conversation
PR summary 8bfd702638Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
no, I don't think this is doing what I thought it would be doing :/ |
|
Ah yeah, the issue here, as you might have realized, is that in this implementation the commands fed to I think there's a way to achieve this with stateful linters and environment extensions... 🤔 |
|
yeah at that point a simple macro, instead of using the builting @[inherit_doc Mathlib.WhatsNew.whatsNewStx]
macro "#whats_new " "in" ppLine cmd:command : command =>
`(command| #whats_new $cmd) |
#whats_newexecutes all remaining commands before analysing them. This uses the built-in keywordin, so that#whats_new inkeeps its current behaviour.I think this would increase language consistency, but besides that, it's not yet clear to me, if this is desired, so I mark this as RFC for now...