gop
gop copied to clipboard
cl: keep stmt comments
Refer #1864
This PR only fixes a portion of the scenarios, and there are still other TODO items that need to be handled, like:
- go+ overload function comments
- keep comments when no need add fileLine
- do format for the generated code to adheres to the standard Go coding style
I will continue to follow up on these tasks in separate PRs.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 63.39%. Comparing base (
5e44bc4
) to head (40fd0c4
).
Additional details and impacted files
@@ Coverage Diff @@
## main #1870 +/- ##
==========================================
+ Coverage 62.64% 63.39% +0.75%
==========================================
Files 141 141
Lines 20584 20600 +16
==========================================
+ Hits 12894 13060 +166
+ Misses 7351 7203 -148
+ Partials 339 337 -2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.