Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inferno
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
POTTIER Francois
inferno
Commits
0debfbb7
Commit
0debfbb7
authored
2 years ago
by
MARTINOT Olivier
Browse files
Options
Downloads
Patches
Plain Diff
More explicit error message printing.
parent
98ea579c
No related branches found
Branches containing commit
No related tags found
1 merge request
!44
Add a notion of type equality in the client
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/FPrinter.ml
+2
-2
2 additions, 2 deletions
client/FPrinter.ml
with
2 additions
and
2 deletions
client/FPrinter.ml
+
2
−
2
View file @
0debfbb7
...
@@ -213,5 +213,5 @@ let print_type_error e =
...
@@ -213,5 +213,5 @@ let print_type_error e =
str
"Scope error."
++
str
"Scope error."
++
str
"The variable %s is bound twice in a pattern."
x
str
"The variable %s is bound twice in a pattern."
x
|
ContextNotAbsurd
->
|
ContextNotAbsurd
->
str
"Type error."
++
str
"Type error."
++
str
"The
context is not absurd
"
str
"The
type equations in the typing environment are not contradictory.
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment