sveneld commented on PR #3787:
URL: https://github.com/apache/thrift/pull/3787#issuecomment-5653586469

   Addressed the bool typedef review concern with generated-code coverage and 
simplification. New fixtures cover set<bool>, set<Flag> (typedef bool), and a 
chained typedef for sequential values, legacy keyed values, ambiguous [true], 
and legacy true. These tests also passed before this follow-up: 
generate_serialize_set_element() already calls emit_array_key_recast(), which 
resolves typedefs and emits the bool cast. The reported TypeError was therefore 
not reproducible on the current branch. Removed the redundant bool-only branch 
instead of adding a second typedef-aware cast. Inspected regenerated PHP: all 
three fields cast before writeBool(). Targeted unit/integration suite: 177 
tests, 336 assertions, exit 0 (2 PHPUnit deprecations); PHPCS and git diff 
--check pass.


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