Skip to content
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

Fix comment removed when function signature has type keyword #6997

Merged

Conversation

shulhi
Copy link
Member

@shulhi shulhi commented Sep 1, 2024

Fix #6890

@shulhi shulhi marked this pull request as ready for review September 1, 2024 03:36
@@ -226,10 +226,10 @@ let f = (
/* c6 */ ~x=?,
) => /* c7 */ ()

let multiply = (type /* c-2 */ t /* c-1 */, m1 /* c1 */, /* c2 */ m2 /* c3 */) => ()
let multiply = (type /* c-2 */ t /* c-1 */, /* c0 */ m1 /* c1 */, /* c2 */ m2 /* c3 */) => ()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original code actually had the comment, but the expected outcome didn't.

@shulhi shulhi requested a review from cknitt September 1, 2024 03:39
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@cknitt cknitt merged commit f5ca410 into rescript-lang:master Sep 1, 2024
20 checks passed
cknitt pushed a commit to cknitt/rescript-compiler that referenced this pull request Sep 8, 2024
…t-lang#6997)

* Fix comment removed when function signature has type keyword

* Update CHANGELOG
cknitt pushed a commit that referenced this pull request Sep 10, 2024
* Fix comment removed when function signature has type keyword

* Update CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comment formatted away in uncurried mode
2 participants