Skip to content

Conversation

@abhin4v
Copy link
Contributor

@abhin4v abhin4v commented Sep 4, 2017

No description provided.

renderForeignError :: ForeignError -> String
renderForeignError (ForeignError msg) = msg
renderForeignError (ErrorAtIndex i e) = "Error at array index " <> show i <> ": " <> show e
renderForeignError (ErrorAtProperty prop e) = "Error at property " <> show prop <> ": " <> show e
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep show prop

@paf31
Copy link
Contributor

paf31 commented Sep 4, 2017

This makes sense to me, thanks!

@garyb garyb changed the base branch from master to compiler/0.12 May 22, 2018 14:45
@garyb garyb merged commit 2e53044 into purescript:compiler/0.12 May 22, 2018
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

Successfully merging this pull request may close these issues.

3 participants