you can write `other: AnyRef` in the match to get the same effect