title: thrift constant structure using enum
body: <p>I've got following enum and want to create a constant map using elements of this enum:</p>
  
  <pre><code>enum UploadFileType {
      POPULATION,
      PROBABILITY,
      REACH,
      CMOBILE,
      CMOBAPP
  }
  
  /**
   * Defines which files are uploadable in which country
   */
  const map&lt;string,list&lt;UploadFileType&gt;&gt; uploadable_files = {
      'hu': [POPULATION, PROBABILITY, REACH, CMOBILE, CMOBAPP],
      'sk': [POPULATION, PROBABILITY, REACH]
  }
  </code></pre>
  
  <p>I'm getting following error here:</p>
  
  <pre><code>[FAILURE:/home/abc/internal.thrift:29] error: identifier POPULATION is unqualified!
  [FAILURE:/home/abc/internal.thrift:29] error: identifier POPULATION is unqualified!
  </code></pre>
  
  <p>and I don't know how this should look properly.</p>