Adding an exception on AsPattern as a TODO