fishy commented on code in PR #3788:
URL: https://github.com/apache/thrift/pull/3788#discussion_r3926092352


##########
lib/go/test/tests/container_key_test.go:
##########
@@ -29,6 +29,11 @@ import (
        "github.com/apache/thrift/lib/go/thrift"
 )
 
+// ContainerKeyTest.thrift is generated without the struct_key_entries option,
+// so a struct-keyed map keeps the default Go representation: a map keyed by
+// pointer. This assignment stops that changing without a deliberate edit.
+var _ map[*containerkeytest.PlainKey]string = 
containerkeytest.NewDefaultStructKeyStruct().ByKey

Review Comment:
   this is worth fixing



-- 
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]

Reply via email to