Match binding is assignment

Closes #12452.