title: Groovy Enum fails
body: <p>I have declared a simple enum in Groovy which is perfectly valid in Java. I get an error, </p>
  
  <p>Caused by: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: AdmixtureProperties(String, Integer, LinkedHashMap)</p>
  
  <p>Here is the enum</p>
  
  <pre><code> @ToString
     enum AdmixtureProperties {
       SVALUE(prop:"1", num: 1),
       PVALUE(prop:"5", num: 3);
       private String prop
       private int num
       AdmixtureProperties(String prop, int num){
        this.prop=prop
        this.num=num
      }
  }
  </code></pre>