-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Support inline modules #23
Comments
Here is a more sensible program that works as intended and shows the same error: defmodule Foo do
defmodule Bar do
@enforce_keys [:bar]
defstruct @enforce_keys
@type t(bar) :: %Bar{
bar: bar
}
end
@spec get_bar(Bar.t(bar)) :: bar when bar: any()
def get_bar(%Bar{bar: bar}) do
bar
end
end |
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Dec 8, 2020
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Dec 8, 2020
Open
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Dec 25, 2020
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Dec 25, 2020
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Dec 26, 2020
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Dec 26, 2020
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Feb 24, 2021
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Feb 24, 2021
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Feb 14, 2022
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Feb 14, 2022
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Feb 14, 2022
turion
pushed a commit
to turion/ex_type
that referenced
this issue
Mar 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider this minimal example:
I'll try and submit a PR.
The text was updated successfully, but these errors were encountered: