Skip to content

Ability to report all discovered type errors at once #11

@Technohacker

Description

@Technohacker

Hello again!
Thank you for making this wonderful crate, I was able to integrate it fairly well in my project. I could never implement a HM type checker on my own 😅

What I've found is the type checker only reports the first discovered type error when preparing the preliminary/final type table. Is it logically sound for the checker to continue scanning through the constraint graph? If so I would love to make a PR to have it report all discovered type errors at once :)

(Currently I have my validation code collect every error faced when imposing constraints, it's just the final type table construction that doesn't report every error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions