SI-8411 match desugared partial functions
Merge pull request #3647 from densh/si/8411

SI-8411 match desugared partial functions