fix bogus error message for enum constructors with argument errors (closes #2148)