19.09.2017 16:49, drug пишет:
19.09.2017 16:48, drug пишет:
19.09.2017 16:46, Craig Black пишет:
class Foo
{
}

struct MyStruct
{
@nogc:
public:
   Foo foo; // This does not produce an error, but it still requires a GC scan
   void Bar()
   {
     foo = new Foo; // This produces an error
   }
}

it produces an error for me https://run.dlang.io/is/PbZE5i
sorry, wrong link, this one
https://run.dlang.io/is/UwTCXu

Oh no, today is not my day, sorry for noise)

Reply via email to