[Truffle] Not all methods have a source section, so allow for that in #toString.