Re: [elm-discuss] Possible compiler bug while parsing type annotation in a let ?

2016-11-11 Thread Matthieu Pizenberg
Oh cool, thank you for the info, I will just comment it for now then. On Friday, November 11, 2016 at 5:09:31 PM UTC+8, Janis Voigtländer wrote: > > What you encountered is > https://github.com/elm-lang/elm-compiler/issues/1214, and it is fixed in > version 0.18 of the compiler. > -- You

Re: [elm-discuss] Possible compiler bug while parsing type annotation in a let ?

2016-11-11 Thread Janis Voigtländer
What you encountered is https://github.com/elm-lang/elm-compiler/issues/1214, and it is fixed in version 0.18 of the compiler. Am Freitag, 11. November 2016 schrieb Matthieu Pizenberg : > Hi, > > I just came accross one very strange compiler error and wanted to have the > point of view of the

[elm-discuss] Possible compiler bug while parsing type annotation in a let ?

2016-11-11 Thread Matthieu Pizenberg
Hi, I just came accross one very strange compiler error and wanted to have the point of view of the community before creating any github issue. I wrote some code to create tag more easily (seems to be trendy these days ^^) in a module Helpers.Views.elm. When I put a type annotation for a very

Re: [elm-discuss] Possible compiler bug?

2016-08-19 Thread Martin Janiczek
Shoot, you're right! (And I thought I checked for that.) I have created my own Random.Pcg `together` and it compiles. I will at least post this to *error-message-catalog* :) Thank you! On Friday, August 19, 2016 at 10:14:28 AM UTC+2, Nick H wrote: > > I think this error might have to do with

Re: [elm-discuss] Possible compiler bug?

2016-08-19 Thread Nick H
I think this error might have to do with these two lines: import Random.Pcg as Random import Random.Extra as Random These two libraries are not designed to work together. Random.Extra works with the Generator type that is defined in the core library. Random.Pcg defines its own type called

[elm-discuss] Possible compiler bug?

2016-08-19 Thread Martin Janiczek
Hello, I've been stumped by a compiler error which I can't figure out. I think it's a compiler bug. (I'd like to maybe help fix that and contribute a PR - even though it might get incorporated into elm-compiler wy later or not at all, I could have my own elm-compiler and continue on the