We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 447427a commit cfd62ceCopy full SHA for cfd62ce
1 file changed
lib/elixir/lib/module/types/descr.ex
@@ -3104,7 +3104,7 @@ defmodule Module.Types.Descr do
3104
tag == :closed and not found? and not is_optional_static(v2) ->
3105
:disjoint
3106
3107
- tag == :open and not found? ->
+ tag == :open and not found? and fields != [] ->
3108
# In case the left-side is open, we will only be adding new keys
3109
# to the open map, which makes future eliminations harder.
3110
:none
0 commit comments