troessner/reek — pull request #280 by guilhermesimoes (2014-08-02 15:44:55+00:00)
Title: DuplicateMethodCall smells reported with wrong lines

Tracking down the cause of bug was quite fun. Basically, DuplicateMethodCall smells are being reported with wrong lines when a method contains at least one interpolated string with newlines. The more newlines a string has, the further down the smell is reported.

I'm not sure how to fix it, so I just added a (failing) test.