Something went wrong. Try again.
ocaml
Something went wrong. Try again.
1.6 kB · 45 lines
at pp-ast
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 $ forester init > /dev/null
$ cat > trees/index.tree << EOF > \def\hello[name]{Hello, \name!} > \p{\hello} > EOF
$ cat > trees/invalid-date.tree << EOF > \date{asdf} > EOF
$ cat > trees/unresolved-ident.tree << EOF > \p{\rel/has-taf} > EOF
$ cat > trees/unresolved-put-key.tree << EOF > \put\some-nonexistent-key{some value here that is long} > \p{ok} > EOF
$ forester build error[type_mismatch]: mismatched type ┌─ $TESTCASE_ROOT/trees/index.tree:2:3 2 │ \p{\hello} │ ^^^^^^^^ This is a function. Did you forget to provide some arguments? = expected some content error[invalid_date]: Failed to parse date ┌─ $TESTCASE_ROOT/trees/invalid-date.tree:1:6 1 │ \date{asdf} │ ^^^^^^ `asdf` is not a date in the form of YYYY-MM-DD. error[unresolved_identifier]: unresolved identifier rel/has-taf ┌─ $TESTCASE_ROOT/trees/unresolved-ident.tree:1:5 1 │ \p{\rel/has-taf} │ ^^^^^^^^^^^ = Did you mean \rel/has-tag? error[unresolved_identifier]: unresolved identifier some-nonexistent-key ┌─ $TESTCASE_ROOT/trees/unresolved-put-key.tree:1:6 1 │ \put\some-nonexistent-key{some value here that is long} │ ^^^^^^^^^^^^^^^^^^^^ error[type_mismatch]: mismatched type ┌─ $TESTCASE_ROOT/trees/unresolved-put-key.tree:1:2 1 │ \put\some-nonexistent-key{some value here that is long} │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is content = expected a symbol (bound with \alloc) [1]