Support case statement with enum parameters
merging