std.math: Move most of the rounding functions into submodule.#7943
std.math: Move most of the rounding functions into submodule.#7943dlang-bot merged 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request and interest in making D better, @berni44! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#7943" |
57e32df to
e7d7974
Compare
|
Here |
|
It's not the calls I mentioned above. So I suspect dmd searching |
|
https://github.com/dlang/dmd/blob/master/src/dmd/builtin.d#L91 is the function in question. |
|
Have you tried making a public alias to the symbols that were moved to the submodules? That should work. Otherwise, we can make the compiler acknowledge the new submodules, although I would rather not go down that route. |
Wouldn't that clash with the public imports? I'll check it out. |
|
Didn't clash, so I probably do not understand something with visibility and scope... But that's my fault. I'll try to pick that up. Anyway, the error has not vanished, but this time brought up a new detail: Line 4851 of |
ibuclaw
left a comment
There was a problem hiding this comment.
Squash and add missing versions.
d00bc65 to
0c96600
Compare
I left out
floorandceilbecause movingfloorImplto the submodule fails with a strange error message. I guess, there is some compiler magic involved here, makingunionwork in CTFE.