Skip to content

Add HasCallStack to internalError#2608

Merged
paf31 merged 4 commits intopurescript:masterfrom
alexbiehl:internal-error
Jan 30, 2017
Merged

Add HasCallStack to internalError#2608
paf31 merged 4 commits intopurescript:masterfrom
alexbiehl:internal-error

Conversation

@alexbiehl
Copy link
Copy Markdown
Contributor

This might be useful in case of a crash.

@hdgarrood
Copy link
Copy Markdown
Contributor

The line endings on the diff look a bit funny - could you check to see if this has a mixture of Linux and windows style line endings?

@hdgarrood
Copy link
Copy Markdown
Contributor

This fixes #2538. I generally like to avoid CPP but this seems like a good reason to use it. 👍 once line endings are sorted.

@alexbiehl
Copy link
Copy Markdown
Contributor Author

Updated the patch. This even works for GHC-7.x. They won't print a callstack though.

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Jan 29, 2017

Looks good, thanks! Please can you update contributors.md here as well.

@paf31 paf31 merged commit 6277f69 into purescript:master Jan 30, 2017
@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Jan 30, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants