chaokunyang commented on code in PR #2656:
URL: https://github.com/apache/fory/pull/2656#discussion_r2376190789


##########
go/fory/set.go:
##########
@@ -119,7 +119,7 @@ func (s setSerializer) writeHeader(f *Fory, buf 
*ByteBuffer, keys []reflect.Valu
        buf.WriteInt8(int8(collectFlag))      // Collection flags
 
        // Write element type ID if all elements have same type
-       if !hasDifferentType {
+       if !hasSameType {

Review Comment:
   ```suggestion
        if hasSameType {
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to