-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Move complex/imaginary types from transition to deprecation #5731
Conversation
Yay! Deprecation messages everywhere! @yebblies @CyberShadow - ideas welcome. Just speaking to @schveiguy and preferably we'd have the deprecation only emitted once per module. This should be trivial to do. |
How did this get broken? |
Just a note: I saw @ibuclaw's output before and after he made it so there was one message printed per module. So so much better afterwards. I'm of absolutely no use to help review or help fix any failures here. But I just wanted to chime in with my approval of the idea to make it one message per module. I don't know if we can fix Phobos to avoid printing so much warnings otherwise. It may be possible, but it means a goofy refactoring of the code. |
@CyberShadow apparently the place where I put the check for complex types is too early. |
Going to move it from |
Oh, there is no |
As auto-tester fails currently I just did a quick grep over Phobos, and it doesn't seem that bad ;-) ifloat: 18 Btw: How about adding a EOL and final deprecation date to the warning and code? |
A new issue "cdouble is broken" just bumped in, it might be worth to get this in sooner than later? ;-) |
Yes. What needs to happen is to move these deprecations closer to the end of the semantic analysis pass. These current checks can happen before all symbols are resolved, hence the failures. |
Closing as I created a new PR on this. |
Does not attempt to move checking anywhere else.