Support literals in patterns