-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Replace Float with float #2754
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
Replace Float with float #2754
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2754 +/- ##
=========================================
Coverage ? 71.66%
=========================================
Files ? 807
Lines ? 142374
Branches ? 16120
=========================================
Hits ? 102027
Misses ? 35912
Partials ? 4435
|
"Long parameter", "lp")] | ||
[assembly: LoadableClass(typeof(FloatValueGenerator), typeof(FloatParamOptions), typeof(SignatureSweeperParameter), | ||
"Float parameter", "fp")] | ||
"float parameter", "fp")] |
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.
float [](start = 5, length = 5)
I would probably avoid changing this particular one. This here is meant to be a user facing name, and we tend to capitalize these elsewhere. Though it is less important to get this exactly right, since it is part of our command line which is not part of the .NET API.
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.
Good catch! I thought it was in reference to the Float
type parameter that we were getting rid of.
// Extract the minimum, and the maximum value of the list of suggested sweeps. | ||
// Positive lookahead splitting at the '-' character. | ||
// It is used for the Float and Long param types. | ||
// It is used for the float and Long param types. |
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.
float [](start = 34, length = 5)
I think this is referring specifically to the FloatParamOptions
, if you want to downcase it that's fine, but we should probably do the same with long
here.
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 looks good from my perspective, thank you for taking it on @jwood803 !! I had just one note about something related to the command line user name for something in a string that I think was deliberately called Float
not float
, as noted in the review. After that pretty minor change I think I'd be happy to approve. Thank you again for working on this!
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.
Great, thank you for taking care of this @jwood803 ! using Float
is now dead! (Well, soon will be, I suppose I should say.)
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.
Fix for #1669.