Skip to content

Commit 55395d4

Browse files
committed
Add replacement vars for format specifiers
1 parent c5c8808 commit 55395d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jscomp/super_errors/super_typetexp.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ let report_error env ppf = function
114114
@]@,\
115115
- @[Constructors and modules are both capitalized.@ Did you want the latter?@ Then instead of @{<dim>let foo = Bar@}, try @{<info>module Foo = Bar@}.@]\
116116
@]"
117-
longident lid;
117+
longident lid lid lid;
118118
Typetexp.spellcheck ppf fold_constructors env lid
119119
| Unbound_label lid ->
120120
(* modified *)
@@ -124,7 +124,7 @@ let report_error env ppf = function
124124
@[- Prefixing it with said module name:@ @{<info>TheModule.%a@}@]@,\
125125
@[- Or specifying its type:@ @{<info>let theValue: TheModule.theType = {%a: VALUE}@}@]\
126126
@]"
127-
longident lid;
127+
longident lid lid lid;
128128
Typetexp.spellcheck ppf fold_labels env lid
129129
| anythingElse ->
130130
Typetexp.report_error env ppf anythingElse

0 commit comments

Comments
 (0)