Re: Visual D 1.1.0 released

2021-03-05 Thread Rainer Schuetze via Digitalmars-d-announce
On 05/03/2021 12:26, Imperatorn wrote: > On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote: >> On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote: >>> https://filebin.net/19gupoeedfdjx5tx >>> >>> One GIF is the behaviour in C# I would like to have in D as well with >>> static if,

Re: Beerconf February 2021

2021-03-05 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/14/21 8:36 AM, superbomba wrote: On Sunday, 14 February 2021 at 03:49:49 UTC, Steven Schveighoffer wrote: If I understand the problem correctly from your previous posts, it's that you are on an ancient version of firefox. We can't really help you there. OK then. I recently ran into

Re: On the D Blog--Symphony of Destruction: Structs, Classes, and the GC

2021-03-05 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/4/21 6:42 PM, Dukc wrote: On Thursday, 4 March 2021 at 13:54:48 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/03/04/symphony-of-destruction-structs-classes-and-the-gc-part-one/ "Some examples: attempting to index an associative array can trigger an attempt to allocate

Re: On the D Blog--Symphony of Destruction: Structs, Classes, and the GC

2021-03-05 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/4/21 6:42 PM, Dukc wrote: On Thursday, 4 March 2021 at 13:54:48 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/03/04/symphony-of-destruction-structs-classes-and-the-gc-part-one/ "Some examples: attempting to index an associative array can trigger an attempt to allocate

Re: On the D Blog--Symphony of Destruction: Structs, Classes, and the GC

2021-03-05 Thread Max Samukha via Digitalmars-d-announce
On Thursday, 4 March 2021 at 13:54:48 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/03/04/symphony-of-destruction-structs-classes-and-the-gc-part-one/ "The destructors of all stack-allocated structs in a given scope are invoked when the scope exits." Please add a note that

DIP 1040--Copying, Moving, and Forwarding--Community Review Round 1 Begins

2021-03-05 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1040, "Copying, Moving, and Forwarding", is now underway. Please discuss the DIP (its merits, its implementation, peripheral topics, etc.) in the Discussion Thread and save all review feedback (critiques on the content of the DIP: what to change, how

Re: Visual D 1.1.0 released

2021-03-05 Thread Imperatorn via Digitalmars-d-announce
On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote: On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote: https://filebin.net/19gupoeedfdjx5tx One GIF is the behaviour in C# I would like to have in D as well with static if, and the other is displaying typeid on hover. The second

Re: Visual D 1.1.0 released

2021-03-05 Thread Kagamin via Digitalmars-d-announce
On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote: https://filebin.net/19gupoeedfdjx5tx One GIF is the behaviour in C# I would like to have in D as well with static if, and the other is displaying typeid on hover. The second is a debug session. Visual Studio doesn't show type

Re: Visual D 1.1.0 released

2021-03-05 Thread Imperatorn via Digitalmars-d-announce
On Friday, 5 March 2021 at 08:50:59 UTC, Rainer Schuetze wrote: On 04/03/2021 14:29, Imperatorn wrote: A few questions. How hard would the following be: 1. Highlight code as dead or alive in static if 2. Show typeid when hovering over a variable Adding to what Bastiaan said:

Re: Visual D 1.1.0 released

2021-03-05 Thread Rainer Schuetze via Digitalmars-d-announce
On 04/03/2021 14:43, James Lu wrote: > On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote: >> Hi, >> >> development on Visual D, the Visual Studio extension that adds D >> language support to VS 2008-2019, has been rather slow recently, but >> finally the results of recent months

Re: Visual D 1.1.0 released

2021-03-05 Thread Rainer Schuetze via Digitalmars-d-announce
On 04/03/2021 14:29, Imperatorn wrote: > A few questions. > > How hard would the following be: > > 1. Highlight code as dead or alive in static if > > 2. Show typeid when hovering over a variable > Adding to what Bastiaan said: "Lowlighting" disabled code in static if() similar to