Skip to content
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

Missing functor's argument type suggestions #1036

Open
soanvig opened this issue Sep 4, 2024 · 0 comments
Open

Missing functor's argument type suggestions #1036

soanvig opened this issue Sep 4, 2024 · 0 comments

Comments

@soanvig
Copy link

soanvig commented Sep 4, 2024

Considering following correct code:

module type A = {
   type t
   let getA: t => string
}

module B = (SomethingA: A) => {
   let getA = (value: SomethingA.t) => SomethingA.getA(value)
}

Something.getA invocation gets proper intellisense on its type.

However after typing SomethingA. there is no suggestion on what can go next (getA in that case)

@soanvig soanvig changed the title Functor -> missing argument type suggestions Missing functor's argument type suggestions Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant