Closed bryannaegele closed 3 years ago
iodata
includes binary()
, so this doesn't need to change I think? It can remain the same for the possible future when it can return an iolist?
iodata()
is iolist() | binary()
and includes both types. Without active breaking calls, it should in theory be fine. However, whenever a literal iolist is being passed to something that accepts just binary without any conversion, dialyzer should pick up on it and start warning.
Agh, true, good point. I guess we should merge this then.
Update typing for https://github.com/open-telemetry/opentelemetry-erlang/pull/90