[SAOC 2023] dfmt rewrite - Weekly update #14

Prajwal S N snp at dlang.org
Fri Dec 22 17:53:08 UTC 2023


Hi all,

The PR for storing raw comments in the DMD AST is up - I'm hoping 
I can make it bug-free soon and have it merged. I've run into a 
very interesting bug where the comments are getting attached to 
the node on top rather than the one below it, which is proving to 
be painful to debug. Apart from this, I've implemented the line 
length counting mechanism for dfmt, which will allow us to 
introduce the passes that split long lines correctly and span it 
across multiple lines.

Also, merry Christmas everyone :)


More information about the Digitalmars-d mailing list