Hi, I’ve ported most of GMT.jl to 0.7 but keep receiving many of these. Don’t understand what it wants with this story of the line breaks.
Thanks for pointers.
Warning: Deprecated syntax `multiple line breaks between doc string and object` at C:\j\.julia\v0.7\GMT\src\gmtinfo.jl:53.
│ Use `at most one line break` instead.
└ @ nothing gmtinfo.jl:53
Yes, what I’m saying is that only a blank line should trigger the warning, not a comment. So a doc string followed by however many lines that only have comments followed by an expression would behave as if the expression was on the next line after the doc string. But maybe that’s too complicated.
I think it would be great if the parser would emit ignored-by-default CommentNodes in the same way that it currently emits LineNumberNodes. This would make it easy to identify comment lines as non-blank.
As a bonus it would become much easier to write utilities that take commands from comments in Julia code (e.g. to control how a document is linted or displayed).