22
33 $ compile external. mli starts_with_open. mli main. mli
44 File " external.mli" , line 20 , characters 4 -36:
5- The synopsis from this module contains references that won't be resolved when included in this list.
5+ The following error occurred while resolving a module's synopsis:
6+ File " main.mli" , line 63 , characters 17 -21:
7+ Failed to resolve reference.
8+ Suggestion: Only fully-qualified references can be resolved in a synopsis.
9+ File " external.mli" , line 20 , characters 4 -36:
10+ The following error occurred while resolving a module's synopsis:
11+ File " main.mli" , line 63 , characters 22 -43:
12+ Failed to resolve reference.
13+ Suggestion: Only fully-qualified references can be resolved in a synopsis.
14+ File " main.mli" , line 1 , character 4 to line 3 , character 47 :
15+ The following error occurred while resolving a module's synopsis:
16+ File " main.mli" , line 63 , characters 17 -21:
17+ Failed to resolve reference.
18+ Suggestion: Only fully-qualified references can be resolved in a synopsis.
619 File " main.mli" , line 1 , character 4 to line 3 , character 47 :
7- The synopsis from this module contains references that won't be resolved when included in this list.
20+ The following error occurred while resolving a module's synopsis:
21+ File " main.mli" , line 63 , characters 22 -43:
22+ Failed to resolve reference.
23+ Suggestion: Only fully-qualified references can be resolved in a synopsis.
824 File " main.mli" , line 1 , character 4 to line 3 , character 47 :
9- The synopsis from this module contains references that won't be resolved when included in this list.
25+ The following error occurred while resolving a module's synopsis:
26+ File " external.mli" , line 9 , characters 6 -10:
27+ Failed to resolve reference.
28+ Suggestion: Only fully-qualified references can be resolved in a synopsis.
1029
1130Everything should resolve:
1231
@@ -42,7 +61,7 @@ Everything should resolve:
4261 {" `Resolved" : {" `Identifier" : {" `Root" : [{" `RootPage" : " test" }," Starts_with_open" ]}}}
4362 {" Some" : [{" `Word" : " Synopsis" }," `Space" ,{" `Word" : " of" }," `Space" ,{" `Code_span" : " Starts_with_open" },{" `Word" : " ." }]}
4463 {" `Resolved" : {" `Identifier" : {" `Module" : [{" `Root" : [{" `RootPage" : " test" }," Main" ]}," Resolve_synopsis" ]}}}
45- {" Some" : [{" `Reference" : [{" `Root" : [" t " , " ` TUnknown" ]},[]]}]}
64+ {" Some" : [{" `Word " : " This " }, " `Space " ,{ " `Word " : " should " }, " `Space " ,{ " `Word " : " be " }, " `Space " ,{ " `Word " : " resolved " }, " `Space " ,{ " `Word " : " when " }, " `Space " ,{ " `Word " : " included: " }, " `Space " ,{ " ` Reference" : [{" `Resolved " : { " `Type " : [{ " `Module " : [{ " `Identifier " : { " ` Root" : [{ " `RootPage " : " test " }, " Main " ]}}, " Resolve_synopsis " ]}, " t " ]}},[]]},{ " `Word " : " . " }, " `Space " ,{ " `Word " : " These " }, " `Space " ,{ " `Word " : " shouldn't: " }, " `Space " ,{ " `Reference " : [{ " `Root " : [ " t " , " ` TUnknown" ]},[]]}, " `Space " ,{ " `Reference " : [{ " `Dot " : [{ " `Root " : [ " Resolve_synopsis " , " `TUnknown " ]}, " t " ]},[]]}]}
4665 {" `Resolved" : {" `Module" : [{" `Identifier" : {" `Root" : [{" `RootPage" : " test" }," External" ]}}," Resolve_synopsis" ]}}
4766 {" Some" : [{" `Reference" : [{" `Root" : [" t" ," `TUnknown" ]},[]]}]}
4867
@@ -51,6 +70,6 @@ References in the synopses above should be resolved.
5170
5271 $ odoc_print external. odocl | jq -c ' .. | .["`Modules"]? | select(.) | .[] | .[]'
5372 {" `Resolved" : {" `Module" : [{" `Identifier" : {" `Root" : [{" `RootPage" : " test" }," Main" ]}}," Resolve_synopsis" ]}}
54- {" Some" : [{" `Reference" : [{" `Root" : [" t " , " ` TUnknown" ]},[]]}]}
73+ {" Some" : [{" `Word " : " This " }, " `Space " ,{ " `Word " : " should " }, " `Space " ,{ " `Word " : " be " }, " `Space " ,{ " `Word " : " resolved " }, " `Space " ,{ " `Word " : " when " }, " `Space " ,{ " `Word " : " included: " }, " `Space " ,{ " ` Reference" : [{" `Resolved " : { " `Type " : [{ " `Module " : [{ " `Identifier " : { " ` Root" : [{ " `RootPage " : " test " }, " Main " ]}}, " Resolve_synopsis " ]}, " t " ]}},[]]},{ " `Word " : " . " }, " `Space " ,{ " `Word " : " These " }, " `Space " ,{ " `Word " : " shouldn't: " }, " `Space " ,{ " `Reference " : [{ " `Root " : [ " t " , " ` TUnknown" ]},[]]}, " `Space " ,{ " `Reference " : [{ " `Dot " : [{ " `Root " : [ " Resolve_synopsis " , " `TUnknown " ]}, " t " ]},[]]}]}
5574
5675' Type_of' and ' Alias' don't have a summary. `C1` and `C2` neither, we expect at least `C2` to have one .
0 commit comments