dip1000 and preview in combine to cause extra safety errors

rikki cattermole rikki at cattermole.co.nz
Wed Jun 8 16:38:53 UTC 2022


This compiles and prints hello.

```d
string foo(return in string s) @safe
{
     return s;
}
```

So the problem here is something to do with -preview=in and return 
detection of DIP1000.


More information about the Digitalmars-d mailing list