We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for looking at #154 so quickly ❤️
I'm afraid the issue isn't completely solved though. If the module in question is aliased, it still does not work:
defmodule EmptyMix.Example do alias EmptyMix.Example defstruct [:name] use TypeCheck, enable_runtime_checks: Mix.env() != :prod @type! t :: %__MODULE__{name: String.t()} @spec! hydrate(%{String.t() => any} | Example.t()) :: Example.t() def hydrate(%__MODULE__{} = struct), do: struct end
$ mix compile ** (UndefinedFunctionError) function EmptyMix.Example.t/0 is undefined (function not available)
The text was updated successfully, but these errors were encountered:
Create (failing) regression test for #160
9fceb14
Ensure aliases are expanded correctly. Fixes #160
0e24dcb
Successfully merging a pull request may close this issue.
Thanks for looking at #154 so quickly ❤️
I'm afraid the issue isn't completely solved though. If the module in question is aliased, it still does not work:
The text was updated successfully, but these errors were encountered: