digitalmars.D - Shouldn't body be deprecated meanwhile?
- berni44 (3/3) Dec 21 2019 I just stumbled over [1] and asked myself, what's the current
- Steven Schveighoffer (8/12) Dec 21 2019 I mean, given that this works:
- Steven Schveighoffer (9/23) Dec 22 2019 Taking a second look at the DIP, it seems that the deprecation is due to...
- berni44 (4/5) Dec 22 2019 No, sorry. I don't know how to do that. (I'm mainly familiar with
- Mathias Lang (3/6) Dec 22 2019 Thanks for the reminder, I think we all forgot about it :)
I just stumbled over [1] and asked myself, what's the current state of DIP 1003? Does anyone know? [1] https://issues.dlang.org/show_bug.cgi?id=19325
Dec 21 2019
On 12/21/19 12:45 PM, berni44 wrote:I just stumbled over [1] and asked myself, what's the current state of DIP 1003? Does anyone know? [1] https://issues.dlang.org/show_bug.cgi?id=19325I mean, given that this works: void main() { int body = 5; } I don't know that we need to even deprecate it. -Steve
Dec 21 2019
On 12/21/19 3:28 PM, Steven Schveighoffer wrote:On 12/21/19 12:45 PM, berni44 wrote:Taking a second look at the DIP, it seems that the deprecation is due to the objection of any contextual keywords, which apparently body now is. So the deprecation should happen. It was supposed to happen when the DIP was implemented. If you know how to do that, I think it would be accepted. The deprecation period can be really long, though, as there is probably a lot of code out there that needs updating. -SteveI just stumbled over [1] and asked myself, what's the current state of DIP 1003? Does anyone know? [1] https://issues.dlang.org/show_bug.cgi?id=19325I mean, given that this works: void main() { int body = 5; } I don't know that we need to even deprecate it.
Dec 22 2019
On Sunday, 22 December 2019 at 18:36:17 UTC, Steven Schveighoffer wrote:If you know how to do that, I think it would be accepted.No, sorry. I don't know how to do that. (I'm mainly familiar with Phobos.)
Dec 22 2019
On Saturday, 21 December 2019 at 17:45:41 UTC, berni44 wrote:I just stumbled over [1] and asked myself, what's the current state of DIP 1003? Does anyone know? [1] https://issues.dlang.org/show_bug.cgi?id=19325Thanks for the reminder, I think we all forgot about it :) https://github.com/dlang/dmd/pull/10693
Dec 22 2019