We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3afc1b3 commit cbe0132Copy full SHA for cbe0132
lib/elixir/lib/module/types/of.ex
@@ -113,7 +113,6 @@ defmodule Module.Types.Of do
113
# If we are in a pattern and we have a variable, the refinement
114
# will already have checked the type, so we skip the check here
115
# as an optimization.
116
- # TODO: properly handle dynamic. Do we need materialization?
117
if (kind == :pattern and is_var(left)) or compatible?(actual_type, expected_type) do
118
{:ok, context}
119
else
0 commit comments