-
-
Notifications
You must be signed in to change notification settings - Fork 748
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
feat: generate code that uses Array.Empty
where possible
#1599
feat: generate code that uses Array.Empty
where possible
#1599
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks for the solid PR. @clairernovotny, can you think of anything this might break?
f83b635
to
19870d6
Compare
Can't think of any issues this would cause. Thanks! |
19870d6
to
dcd75f6
Compare
dcd75f6
to
9f8883d
Compare
Sorry about that, should be fixed now 🤞 Any chance you'd be open to running a formatter on this repository? A lot of lines appear to have random 4-8 sections of whitespace. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1599 +/- ##
=======================================
Coverage 85.45% 85.45%
=======================================
Files 33 33
Lines 1685 1685
Branches 295 295
=======================================
Hits 1440 1440
Misses 166 166
Partials 79 79 ☔ View full report in Codecov by Sentry. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Use
Array.Empty
over allocating an empty array where possible. Done for______arguments
andparameterTypes
..See #1598