fix nameless partial expression exception if there is no matching partial
Merge pull request #1337 from evs-chris/partial-dev

fix nameless partial expression exception if there is no matching partial