GitHub user dhull opened a pull request:

    https://github.com/apache/thrift/pull/1494

    THRIFT-4495: Allow `undefined` for non-required Erlang records fields.

    As of Erlang 19, the dialyzer static type-analysis tool no longer 
implicitly adds `undefined` to the allowed types for a field.  This means that 
dialyzer will now complain about any non-required fields that are not 
explicitly initialed when creating a new record.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dhull/thrift 
thrift-4495-erlang-undefined-fields

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1494.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1494
    
----
commit 332587370e89919fa34fcbab74d1bd99174d8e1a
Author: David Hull <david.hull@...>
Date:   2018-02-13T01:11:24Z

    THRIFT-4495: Allow `undefined` for non-required Erlang records fields.
    
    As of Erlang 19, the dialyzer static type-analysis tool no longer
    implicitly adds `undefined` to the allowed types for a field.  This
    means that dialyzer will now complain about any non-required fields
    that are not explicitly initialed when creating a new record.

----


---

Reply via email to