镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Possible bug with type inference #310

Closed

Description

@mellson

I asked a question at the ReScript forum. The answers suggested that there could be a bug in the extension, hence this issue.

I have created a repo containing the example here. Please have a look in FormTest.res to see the type inference I'm wondering about.

Can you confirm that it's a bug, or is it because I'm missing to open the other module or something else?

Recreating the example in the ReScript playground shows that the type is inferred.

Thanks for considering this.

Activity

  1. zth commented on May 5, 2022

    @zth
    Member

    Closing this as a "duplicate" (well, not really) of #310. Or rather, if I understand correctly, #310 covers this as well. Feel free to reopen if I'm wrong.

  2. mellson commented on May 5, 2022

    @mellson
    Author

    Closing this as a "duplicate" (well, not really) of #310. Or rather, if I understand correctly, #310 covers this as well. Feel free to reopen if I'm wrong.

    Happy to hear this is resolved in another issue. But it looks like the reference is back to this issue, so not sure what the reference is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions