You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason this was done is because elm make will use the comment as a module documentation. But this is annoying to people who just want the comment to stay with the definition. I hear confusion about this every year or two.
Proposal: A better solution would be to insert an empty module doc, so output would be:
The trigger for this should probably be whether or not the doc comment is on the line immediately above the definition. The comment should be read as the module docs if there is more space between them.
The text was updated successfully, but these errors were encountered:
Example input:
Current output:
The reason this was done is because
elm make
will use the comment as a module documentation. But this is annoying to people who just want the comment to stay with the definition. I hear confusion about this every year or two.Proposal: A better solution would be to insert an empty module doc, so output would be:
The trigger for this should probably be whether or not the doc comment is on the line immediately above the definition. The comment should be read as the module docs if there is more space between them.
The text was updated successfully, but these errors were encountered: