Closed logicfish closed 4 years ago
unittest { class myClass { class myInner { } myInner[] innerArray; } myClass c = new myClass; auto s = serialize(c); }
\AppData\Local\dub\packages\hunt-1.3.0\hunt\source\hunt\util\Serialize.d(666,9): Error: outer function context ofapp.unittest_L24_C1is needed tonewnested classapp.unittest_L24_C1.myClass``
\AppData\Local\dub\packages\hunt-1.3.0\hunt\source\hunt\util\Serialize.d(666,9): Error: outer function context of
is needed to
nested class
A new binary serialization module named BinarySerializer is on the todo list.
It's fixed in commit 032fe2c.
\AppData\Local\dub\packages\hunt-1.3.0\hunt\source\hunt\util\Serialize.d(666,9): Error: outer function context of
app.unittest_L24_C1is needed to
newnested class
app.unittest_L24_C1.myClass``