Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Debug.log produces a strange output #151

Open
jinjor opened this issue Mar 3, 2017 · 1 comment
Open

Debug.log produces a strange output #151

jinjor opened this issue Mar 3, 2017 · 1 comment

Comments

@jinjor
Copy link
Member

jinjor commented Mar 3, 2017

It looks like an additional \n is inserted before type.

> add a b = (Debug.log "value of a" a) + b
<function> : number -> number -> number
> add 1 2
value of a: 1
3
    : number

Debug.crash seems fine, btw.

> f a = Debug.crash "not implemented yet"
<function> : a -> b
> f 1
Error: Ran into a `Debug.crash` in module `Repl` on line 5
The message provided by the code author is:

    not implemented yet

elm-repl: 0.18.0
OS: Mac

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants