Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 15, 2018 [Issue 18307] -transition=intpromote deprecation message confusing | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18307 Zach the Mystic <reachzach@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reachzach@gmail.com --- Comment #1 from Zach the Mystic <reachzach@gmail.com> --- I tested it and this works: // change this: // value = -(cast(T)-header); // to this: value = cast(T)cast(byte)header; header is a ubyte. When changed to a byte, in this context, it becomes negative. The compiler then creates a corresponding negative int. -- |
April 15, 2018 [Issue 18307] -transition=intpromote deprecation message confusing | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18307 --- Comment #2 from Zach the Mystic <reachzach@gmail.com> --- ...or whatever negative Integral type it requires. (I did only test it with `int`, but I think it should work regardless. -- |
December 17, 2022 [Issue 18307] -transition=intpromote deprecation message confusing | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18307 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 18307] -transition=intpromote deprecation message confusing | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18307 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17834 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation