Skip to content

Commit 0195dff

Browse files
authored
[Super errors] Tweak warning indentation (#4567)
1 parent 3dee062 commit 0195dff

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

jscomp/super_errors/super_warnings.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let message (warning : Warnings.t) =
66
| Partial_match "" ->
77
"You forgot to handle a possible case here, though we don't have more information on the value."
88
| Partial_match s ->
9-
"You forgot to handle a possible case here, for example: \n" ^ s
9+
"You forgot to handle a possible case here, for example: \n " ^ s
1010
| Unerasable_optional_argument ->
1111
String.concat ""
1212
["This optional parameter in final position will, in practice, not be optional.\n";

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411742,7 +411742,7 @@ let message (warning : Warnings.t) =
411742411742
| Partial_match "" ->
411743411743
"You forgot to handle a possible case here, though we don't have more information on the value."
411744411744
| Partial_match s ->
411745-
"You forgot to handle a possible case here, for example: \n" ^ s
411745+
"You forgot to handle a possible case here, for example: \n " ^ s
411746411746
| Unerasable_optional_argument ->
411747411747
String.concat ""
411748411748
["This optional parameter in final position will, in practice, not be optional.\n";

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571838,7 +571838,7 @@ let message (warning : Warnings.t) =
571838571838
| Partial_match "" ->
571839571839
"You forgot to handle a possible case here, though we don't have more information on the value."
571840571840
| Partial_match s ->
571841-
"You forgot to handle a possible case here, for example: \n" ^ s
571841+
"You forgot to handle a possible case here, for example: \n " ^ s
571842571842
| Unerasable_optional_argument ->
571843571843
String.concat ""
571844571844
["This optional parameter in final position will, in practice, not be optional.\n";

lib/4.06.1/whole_compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436831,7 +436831,7 @@ let message (warning : Warnings.t) =
436831436831
| Partial_match "" ->
436832436832
"You forgot to handle a possible case here, though we don't have more information on the value."
436833436833
| Partial_match s ->
436834-
"You forgot to handle a possible case here, for example: \n" ^ s
436834+
"You forgot to handle a possible case here, for example: \n " ^ s
436835436835
| Unerasable_optional_argument ->
436836436836
String.concat ""
436837436837
["This optional parameter in final position will, in practice, not be optional.\n";

0 commit comments

Comments
 (0)