Problem wth enum();

Yup - it was reading those parenthethis as some sort of constructor invocation.