Skip to content

Some errors are missing after type checking a file #701

@auduchinok

Description

@auduchinok

Repro steps

I found this issue in the Paket solution and good example file to reproduce is Program.fs in Paket project. (The links point to particular commit I had checked out.)
In many cases type checking results don't return errors when I randomly change identifiers in the file and expect them to become unresolved. Also there's no "type cannot be inferred" errors for expressions with these identifiers later in the code.
For example change processCommand identifier somehow (in the Program.fs) in its let binding or in any of usages in the end of the file.

Expected behavior

Worked fine in 6.0.2 and 9.0.1, the expected errors were shown.

Actual behavior

No errors at all in some cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions