fram-lang / fram-lang/dbl

Refactor error reporting in `TypeInference`

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
1. type inference error messages
Dominant language
OCaml
Stars
45
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Refactoring of error reporting is motivated by the following needs.

- To solve the issue #19 we need to run the type-checker of find the instance of method `toString`. However, this could raise some type-errors, that should not be exposed to the user, or at least delayed until a proper message is displayed (about being unable to use `toString` method).
- As suggested by @kwasielewski it would be nice to have good infrastructure for attaching notes to error messages.
- We should set up the scene for managing warnings: being able to disable them or raise them to errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.