jinjor / elm-time-travel

An experimental debugger for Elm
http://package.elm-lang.org/packages/jinjor/elm-time-travel/latest
BSD 3-Clause "New" or "Revised" License
78 stars 4 forks source link

Compilation error (maybe some conflict with `elm-lazy-list`) #6

Closed zdychacek closed 8 years ago

zdychacek commented 8 years ago

Hi again,

after I have added elm-time-travel to my project's dependencies, I am experiencing an issue related with using a elm-lazy-list.

Compilation error:

"The elm-package.json constraints of 'elm-community/elm-lazy-list' are probably letting too much stuff through. Definitely open an issue on the relevant github repo to get this fixed and save other people from this pain."

Actually, I don't know if this issue is related with elm-time-travel or with elm-lazy-list...

jinjor commented 8 years ago

Hmm... I have seen this error before but I forgot what it was caused by.

Can you show your project's dependencies here?

zdychacek commented 8 years ago

My dependencies are:

"elm-community/json-extra": "1.0.0 <= v < 2.0.0",
"elm-community/maybe-extra": "1.1.0 <= v < 2.0.0",
"elm-lang/core": "4.0.0 <= v < 5.0.0",
"elm-lang/html": "1.0.0 <= v < 2.0.0",
"elm-lang/navigation": "1.0.0 <= v < 2.0.0",
"evancz/elm-http": "3.0.1 <= v < 4.0.0",
"evancz/elm-markdown": "3.0.0 <= v < 4.0.0",
"krisajenkins/elm-exts": "25.6.2 <= v < 26.0.0",
"rgrempel/elm-route-url": "2.0.1 <= v < 3.0.0"
jinjor commented 8 years ago

I tried to find a clue, but was not able to. Sorry for inconvenience.

zachwilliamson91 commented 8 years ago

Could be perhaps related to https://github.com/elm-lang/elm-compiler/issues/1430

jvoigtlaender commented 8 years ago

See https://github.com/elm-lang/elm-compiler/issues/1430#issuecomment-229932911.

jinjor commented 8 years ago

Thank you for your information!

So using infix operator is problematic? Good to know. I'll update the dependency as soon as it is fixed. (Or, I use another library if there is one)

jvoigtlaender commented 8 years ago

Yes, infix operators are problematic. Both due to that compiler issue and due to this advice against them: http://package.elm-lang.org/help/design-guidelines#avoid-infix-operators.

jinjor commented 8 years ago

To all who are blocked on this,

I switched parser from Dandandan/parser to Bogdanp/elm-combine for another reason (= performance) and just published new version (1.0.11). If your problem has been solved by this change, please let me know.

zdychacek commented 8 years ago

Many thanks!! It works!