David Hull created THRIFT-4497:

             Summary: Erlang records should use map() for map type
                 Key: THRIFT-4497
                 URL: https://issues.apache.org/jira/browse/THRIFT-4497
             Project: Thrift
          Issue Type: Bug
          Components: Erlang - Compiler
    Affects Versions: 0.11.0
            Reporter: David Hull
            Assignee: David Hull

When the Thrift Erlang code generator is given the "maps" option, it generates 
records with #{} as the field type. However #{} is the type for an empty map. 
The Erlang [Types and Function 
Notice that the syntactic representation of {{map()}} is {{#\{any() => 
any()\}}} (or {{#\{_ => _\}}}), not #\{ \}. The notation #\{ \} specifies the 
singleton type for the empty map.

This message was sent by Atlassian JIRA

Reply via email to