-
Notifications
You must be signed in to change notification settings - Fork 37.7k
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
Add SpEL support for float literals [SPR-9486] #14121
Comments
Satyapal Reddy commented I have a potential fix for this and wondering if I should go github route to submit my fix. We are releasing our product in next two months and wondering if we could this fix. Thanks |
Chris Beams commented Hi Satya, Please do go ahead with a pull request per the contributor guidelines, and I'll follow up from there. Thanks! |
Satyapal Reddy commented I made a pull request : #114 |
Chris Beams commented
|
Satyapal Reddy commented Thanks for the comments on the pull request Andy. We currently use 3.1.1 of spring framework. Is there any possibility of backporting this fix to 3.1.x? |
Satyapal Reddy commented Hi Chris, Any chance this can make into 3.1.3 ? Satya |
Chris Beams commented Hi Satya, yes, I've just scheduled this for 3.1.3. |
Chris Beams commented 3.2 RC1 (master):
3.1.3 (3.1.x):
Update: several related commits followed those shown above in order to catch a couple failing tests. |
Satyapal Reddy opened SPR-9486 and commented
I have two functions:
and when I execute the test with following code:
it fails with:
This is due to -10.2f being treated as double, and then they are eligible for type conversions to int and float and hence the ambiguity
Affects: 3.1.1
Attachments:
Issue Links:
The text was updated successfully, but these errors were encountered: