give error message if a specific map that looks like it's really meant to be a general map is given as a type