google / mozc

Mozc - a Japanese Input Method Editor designed for multi-platform
Other
2.32k stars 329 forks source link

Coding mistake of FilterNoisyNumberCandidate #922

Closed benesult closed 2 months ago

benesult commented 2 months ago

Description

In FilterNoisyNumberCandidate of "candidate_filter_test.cc", it seems that previous variables are used by human error. The fixed file is attached. Note that unit test "converter:candidate_filter_test" is passed before this fixing. It is also passed after this fixing.

Please confirm it.

Difference of files

candidate_filter_test_cc

Version or commit-id

a1121b34cf38d1a4537effbd13b44c9dae57fec9

Fixed file

candidate_filter_test_cc.zip

hiroyuki-komatsu commented 2 months ago

Hi benesult, Thank you for your report.

fcbd2d3 fixed this mistake.

Best,