-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
Issue 13013 - Converted real to double in std.json.JSONValue #2291
Conversation
| @@ -58,7 +58,7 @@ struct JSONValue | |||
| string str; | |||
| long integer; | |||
| ulong uinteger; | |||
| real floating; | |||
| double floating; | |||
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.
alignment
ABI compatibility is not a concern for phobos. |
|
ABI compatibility can't be a concern at the current point at all. We don't even have a well-defined ABI to start with. |
|
Addressed the inline comment. The ABI mention was mostly to continue that train of thought from the Bug Report page. As best as I can tell, this PR is now ready. |
|
Looks good to me. |
|
Auto-merge toggled on |
Issue 13013 - Converted real to double in std.json.JSONValue
|
Okay, thanks. Should be good to go – we'll see if the type changes lead to a compatibility problem in an unexpected way during beta, I guess. |
Issue 13013 - Converted real to double in std.json.JSONValue
https://issues.dlang.org/show_bug.cgi?id=13013
=> Changed real to double, as it is more functional and no less correct.
One concern: ABI compatibility.
Tested this on both Windows and OSX.