ugly and/or useless features in the language.

Alain De Vos devosalain at ymail.com
Sun May 23 14:13:36 UTC 2021


This one compiles without any problem.
Maybe someone can enlighten us on the status of 
scope(d)-variables and dip-1000.
It is not fully clear for me.
```
import std.stdio;
void main() @trusted
{
int *q=null;
     {
	int a;
	q=&a;
     }
*q=5;
}
```


More information about the Digitalmars-d-learn mailing list