Open
Description
I was writing an exercise without copy/paste today (!) and I inadvertently wrote :
let exercise_1 =
Section (
[ Text "Variable: "; Code "n"],
test_variable [%ty float] "n" 10 )
There are actually 2 mistakes in this exercise but a learn-ocaml
command with as many options as possible (--display-outcomes
etc...) gives me:
Updating app at ./www
references (no changes)
(The previous extract code comes from a variables/test.ml
file and I have two exercises: variables
and references
)
So : no error message, nothing about variables
and no server launch....
The error causing this is that I forgot the colon in [%ty: float]
...
(After correction, I finally have the right error message for my second mistakes : 10
is not a float....)
Will it be possible to have nice error messages for this kind of stupid typos in Ty.ty
?