fix bug when multiple function definitions exist

This might be related to #529
029d37d6a7Andrew Kelley committed on 11/10/2017, 7:58:50 PMparent20c2dbd
1 file changedLine totals unavailable