[erlang-questions] Force TLS v1.2

Kostis Sagonas kostis@REDACTED
Sat Apr 27 12:49:50 CEST 2019


On 4/27/19 12:43 PM, WW wrote:
> But according to spec   the input of the function can be any()! It is 
> obvious the _E  should be considered, otherwise erlang will crash.
> 
> Am I wrong?

Yes, you are.

The function is not exported; all calls to it are from within the module 
(i.e., known to dialyzer), so they cannot be with any() as argument; 
they can only be with the term types that dialyzer has inferred.

Kostis



More information about the erlang-questions mailing list