We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc43b3 commit 785ffccCopy full SHA for 785ffcc
1 file changed
lib/elixir/lib/module/types/pattern.ex
@@ -454,6 +454,7 @@ defmodule Module.Types.Pattern do
454
{pairs, context} =
455
Enum.map_reduce(args, context, fn {key, value}, context ->
456
{value_type, context} = of_pattern(value, [{:key, key} | path], stack, context)
457
+ # TODO: We need to assume that these are dynamic until we have typed structs.
458
{{key, value_type}, context}
459
end)
460
0 commit comments