inline scan local aggregate methods

Methods in local structs weren't being scanned for inlining opportunities. This pull request fixes that.