Re:Beam VM Wisdoms (2019)
by Joker_vD on Wednesday April 21, 2021 @08:19PM
(#26897100)
Dialyzer is such a weird beast, it's overly optimistic IMO. We have code that almost literally is
and it typechecks just fine. I mean, yeah, we actually always used to have binaries in #outside_error—until now. Now we've started to sometimes pass a map in it. And so, somewhere down the line calls to unicode:binary_to_characters/1 suddenly start crashing because a map is not a binary, duh, but! it all still typechecks. Amazing.
[ Parent
| on HN ]
There are no comments on this comment yet.