fix undefined behavior (sequence point) of TypeDeduction

Signed-off-by: Eric Zhiqiang Ma <zma@ericzma.com>
Merge remote-tracking branch 'origin/master'