You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, after upgrading from 0.0.11 to 0.0.12, I found that the generated code for structs seem to be incorrect. I've created a minimal repro here - master branch is on 0.0.11 and generator-0.0.12 branch on 0.0.12.
It seems to be missing out the last field in structs, like these methods from ReaderExtensions:
// Should be (ObjectPath, byte[], byte[], string)publicstatic(ObjectPath,byte[],byte[])ReadStruct_roayaysz(thisrefReaderreader){
reader.AlignStruct();return ValueTuple.Create(reader.ReadObjectPath(), reader.ReadArray_ay(), reader.ReadArray_ay());}// Should be (ObjectPath, byte[], byte[])publicstatic(ObjectPath,byte[])ReadStruct_roayayz(thisrefReaderreader){
reader.AlignStruct();return ValueTuple.Create(reader.ReadObjectPath(), reader.ReadArray_ay());}
The text was updated successfully, but these errors were encountered:
Hi, after upgrading from 0.0.11 to 0.0.12, I found that the generated code for structs seem to be incorrect. I've created a minimal repro here -
master
branch is on 0.0.11 andgenerator-0.0.12
branch on 0.0.12.It seems to be missing out the last field in structs, like these methods from
ReaderExtensions
:The text was updated successfully, but these errors were encountered: