Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Type checker can't infer impredicative instantations from matches #281

@plt-amy

Description

@plt-amy

See here. In:

    | None ->
      match tasks key with
      | Some task ->

task enters scope with type α, not - as you'd expect - forall 'x. _...

Ughr.

I worked around this by slapping some flex tape on lower!

Metadata

Metadata

Assignees

Labels

TCIssues/PRs relating to something else in the TCX-Core LintCore lint errors in type-checked code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions