issue-64 #66

Open
Olivier wants to merge 2 commits from issue-64 into issue-58
Owner

#64

#64
Olivier added 3 commits 4 months ago
gasche reviewed 4 months ago
try
LabelMap.find (Label l) labels
with Not_found ->
raise (LabelNotFound (Label l))
Collaborator

Ici on pourrait écrire label partout à la place de (Label l) et ça marcherait aussi bien.

Ici on pourrait écrire `label` partout à la place de `(Label l)` et ça marcherait aussi bien.
Olivier marked this conversation as resolved
try
TyConstrMap.find (Type tid) datatypes
with Not_found ->
raise (DeclarationNotFound (Type tid))
Collaborator

(Pareil ici, tid à la place de (Type tid) serait plus simple.)

(Pareil ici, `tid` à la place de `(Type tid)` serait plus simple.)
Olivier marked this conversation as resolved
str "A record was expected."
| DeclarationNotFound (Datatype.Type tid) ->
str "Type error." ++
str "Unknown type declaration : %s." tid
Collaborator

Du coup ici et dessous ce seraient plutôt des Scope error, non ?

Du coup ici et dessous ce seraient plutôt des `Scope error`, non ?
Olivier marked this conversation as resolved
Datatype.Env.add_decl Datatype.Env.empty option_typedecl
(* We test this example in an empty datatype environment. It should raise
an error indicating it did not find the label. *)
Collaborator

indicating that it ....

indicating that it ....
Olivier marked this conversation as resolved
Olivier force-pushed issue-64 from 4f625619de to 227a4bbaf8 4 months ago
This pull request can be merged automatically.
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Olivier/inferno-experimental#66
Loading…
There is no content yet.