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

Usage of the Debug Module #5

Open
pithub opened this issue Sep 26, 2024 · 0 comments
Open

Usage of the Debug Module #5

pithub opened this issue Sep 26, 2024 · 0 comments

Comments

@pithub
Copy link
Owner

pithub commented Sep 26, 2024

Usage of the Debug module prevents to compile the code in optimized mode and to use tools like elm-optimize-level-2.

  • Debug.todo should be replaced by some code that produces a runtime exception, preferably with the possibility to specify a custom error message. It would even be better to handle the errors properly, but this would be a lot of work...

  • Debug.toString should be replaced with custom code that "stringifies" as much as needed in each case.

  • Debug.log should be removed.

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