kpumuk commented on code in PR #3270:
URL: https://github.com/apache/thrift/pull/3270#discussion_r2637374915


##########
lib/rb/lib/thrift/protocol/compact_protocol.rb:
##########
@@ -27,7 +27,7 @@ class CompactProtocol < BaseProtocol
     TYPE_BITS = 0x07
     TYPE_SHIFT_AMOUNT = 5
 
-    TSTOP = ["", Types::STOP, 0]
+    TSTOP = [nil, Types::STOP, 0]

Review Comment:
   See 
https://github.com/apache/thrift/blob/master/lib/rb/ext/compact_protocol.c#L464
   
   
   ```c
   return rb_ary_new3(3, Qnil, INT2FIX(0), INT2FIX(0));
   ```



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