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

Remove warnings for the usage of Debug.Trace #329

Open
marcosh opened this issue Jan 28, 2020 · 1 comment
Open

Remove warnings for the usage of Debug.Trace #329

marcosh opened this issue Jan 28, 2020 · 1 comment

Comments

@marcosh
Copy link
Contributor

marcosh commented Jan 28, 2020

Possibly purescript-psa could be used to achieve this

@sjoerdvisscher
Copy link
Member

sjoerdvisscher commented Feb 4, 2020

--censor-codes=UserDefinedWarning works, with the obvious downside that it removes all user defined warnings.

An alternative is

import Debug.Trace (class DebugWarning)

main :: DebugWarning => Effect Unit

Edit: Hmm, just tried this in the grid-kit example, and it hangs the browser...

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

2 participants