-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print terms that invented types when
type_invention_error
is set
When `type_invention_error` flag is set, this patch prints the terms that invented types. This is helpful for debugging when very term is supposed to be fully typed but it actually isn't. ``` # type_invention_error := true;; val it : unit = () # let tm = `x = x`;; Exception: Failure "typechecking error (cannot infer type of variables): =, x". # ```
- Loading branch information
Showing
2 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters