ityonemo / mavis

opinionated typing library for elixir
MIT License
110 stars 4 forks source link

fix: unions with empty string #124

Closed ityonemo closed 3 years ago

ityonemo commented 3 years ago

Type.union(<<_::1, _::_*1>>, <<>>) should be << _::_*1>>

instead it comes out as ::<<_::1, _::_*1>>

ityonemo commented 3 years ago

fixed in 93c2552