* fixes another effect inference bug [backport:1.6] (cherry picked from commit fce89cb60a)
fce89cb60a