Fix #1476 by making splice patterns work.