Compilation error at Schema
serjek opened this issue · comments
serjek commented
haxe/haxe_libraries/colyseus/0.14.2/haxelib/src/io/colyseus/serializer/schema/Schema.hx:584: lines 584-590 : Cannot use Void as value
serjek commented
I believe it's missing return
statement here:
Lambda.mapi(previousValue.items, function(index, item) {
//here
return deletes.push({
op: cast OPERATION.DELETE,
field: cast index,
dynamicIndex: cast index,
value: null,
previousValue: item
});
});
But I'm not sure. Adding a return
fixes the compilation though but I can not yet tell if it works as expected.
Endel Dreyer commented
Thanks @serjek, that's it! I'll push this