We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf371e commit f119e81Copy full SHA for f119e81
test/extract_code/mld_extraction.t/run.t
@@ -78,12 +78,13 @@ We can output to a file
78
let y = x + 6. (* This is a typing error *)
79
80
81
-Let's check line directive work:
+Let's check line directive work ("-color always" to make sure the error message
82
+is the same in all context):
83
- $ ocaml error.ml
84
+ $ ocaml -color always error.ml
85
File "main.mld", line 26, characters 15-17:
- Error: This expression has type "float" but an expression was expected of type
86
- "int"
+ Error: This expression has type float but an expression was expected of type
87
+ int
88
[2]
89
90
Here is the line 26, and the characters 15-17:
0 commit comments