Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitize message causes exception when trying to parse errors. #59

Open
jordwalke opened this issue Sep 1, 2016 · 0 comments
Open

Sanitize message causes exception when trying to parse errors. #59

jordwalke opened this issue Sep 1, 2016 · 0 comments

Comments

@jordwalke
Copy link
Collaborator

Here's the error that the build system output. Better errors tries to parse this and fails.

SANITIZE: a total of 2 files that should probably not be in your source tree
  has been found. A script shell file
  "/Users/me/githubReasonMl/ExampleProject/_build/sanitize.sh" is being
  created. Check this script and run it to remove unwanted files or use other
  options (such as defining hygiene exceptions or using the -no-hygiene
  option).
IMPORTANT: I cannot work with leftover compiled files.
ERROR: Leftover OCaml compilation files:
  File Test.cmo in src has suffix .cmo
  File Test.cmi in src has suffix .cmi
Exiting due to hygiene violations.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.

Here's the stack trace that is thrown:

Fatal error: exception Failure("hd")
Raised at file "pervasives.ml", line 30, characters 22-33
Called from file "list.ml", line 23, characters 10-23
Called from file "src/reason_error_reporter.ml", line 30, characters 2-91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant