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

Type not recognized and/or hints not working #2030

Open
inwenis opened this issue Aug 6, 2024 · 0 comments
Open

Type not recognized and/or hints not working #2030

inwenis opened this issue Aug 6, 2024 · 0 comments
Labels
bug up for grabs Good first issues

Comments

@inwenis
Copy link

inwenis commented Aug 6, 2024

Describe the bug

On L10 parameter hints (Ctrl+Shift+Space) stop working. Type of variable x is not recognized.

Steps to reproduce

  1. Create new proj
  2. Paste code into Program.fs:
let amazingFun x = ()

let main argv =
    if false then
        "xx" |> ignore

    "aa" |> amazingFun
    "aa" |> amazingFun
    let x = "asdf"
    x.Replace("asdf", "a")

    0

On L10 type is not recognized.
If you remove L8 it starts working. #magic

Expected behaviour

I expect hints to work at L10 and further

Screenshots

image

Machine info

  • OS: Windows
  • .NET SDK version: 8.0.303
  • Ionide version: v7.20.3
@TheAngryByrd TheAngryByrd added bug up for grabs Good first issues labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug up for grabs Good first issues
Projects
None yet
Development

No branches or pull requests

2 participants