-
Notifications
You must be signed in to change notification settings - Fork 464
Doc comment affects formatting of attributes #6302
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
Comments
Can you try on syntax master and update this. |
Ah right! Something has changed between 10.1 and master. On master, the output is different, but still not consistent between doc comments and normal comments: /** Doc comment */
@a
@b
external f: unit => unit = "f"
/* Normal comment */
@a @b
external f: unit => unit = "f"
/**
Doc comment Doc comment Doc comment Doc comment Doc comment
Doc comment Doc comment Doc comment Doc comment Doc comment
*/
@a
@b
external f: unit => unit = "f"
/*
Normal comment Normal comment Normal comment Normal comment Normal comment
Normal comment Normal comment Normal comment Normal comment Normal comment
*/
@a @b
external f: unit => unit = "f" |
The rescript-lang/syntax repo is obsolete and will be archived soon. If this issue is still relevant, please reopen in the compiler repo (https://github.com/rescript-lang/rescript-compiler) or comment here to ask for it to be moved. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
gets reformatted to
The text was updated successfully, but these errors were encountered: