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

Fix Map.!: given key is not an element in the map #1850

Closed
wants to merge 4 commits into from

Conversation

tomstejskal
Copy link

I have an application using the package mdgriffith/elm-ui.
One of the application Msgdata constructors contains value of type Element msg from the elm-ui library.
Declaration of this type is:

type alias Element msg =
   Internal.Element msg

Neither the Internal.Element msg union type nor the Internal module is exposed from the library.
This pull request fixes function extractUnion, which couldn't find such module and type.

I'm not sure this is the right way how to solve this issue.

@tlentz
Copy link

tlentz commented Feb 6, 2019

Merge this, it works and fixes the elm-deugger.

@domenkozar
Copy link

Potential fix for #1851

Someone could confirm if it fixes SSCCE in #1753 (comment)

@Natim
Copy link

Natim commented Feb 11, 2019

It fixes #1851 can we release this in elm 0.19.1, it would greatly help me to be able to use the debugger.

@domenkozar
Copy link

@Natim have you confirmed the fix?

@Natim
Copy link

Natim commented Feb 11, 2019

image

$ stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ./

Selecting the best among 15 snapshots...

Downloaded lts-13.7 build plan.    
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/                                 
Downloading root                                                                                 
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Downloading mirrors                                                                              
Cannot update index (no local copy)                                                              
Downloading index                                                                                
Updated package index downloaded                                                                 
Update complete                                                                                  
Populated index cache.    
* Partially matches lts-13.7
    containers version 0.6.0.1 found
        - elm requires >=0.5.8.2 && <0.6
    language-glsl not found
        - elm requires >=0.0.2 && <0.3
    network version 2.8.0.0 found
        - elm requires >=2.4 && <2.7
    Using package flags:
        - elm: dev = False

Downloaded nightly-2019-02-11 build plan.    
* Partially matches nightly-2019-02-11
    containers version 0.6.0.1 found
        - elm requires >=0.5.8.2 && <0.6
    language-glsl not found
        - elm requires >=0.0.2 && <0.3
    network version 2.8.0.0 found
        - elm requires >=2.4 && <2.7
    Using package flags:
        - elm: dev = False

Downloaded lts-12.26 build plan.    
* Partially matches lts-12.26
    language-glsl not found
        - elm requires >=0.0.2 && <0.3
    Using package flags:
        - elm: dev = False

Downloaded lts-11.22 build plan.    
* Matches lts-11.22

Selected resolver: lts-11.22
Initialising configuration using resolver: lts-11.22
Total number of user packages considered: 1
Writing configuration to file: stack.yaml
All done.
$ stack build
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-8.2.2.                                      
Installed GHC.                                                                     
[1 of 2] Compiling Main             ( /home/rhubscher/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /home/rhubscher/.stack/setup-exe-src/setup-mPHDZzAJ.o )
[2 of 2] Compiling StackSetupShim   ( /home/rhubscher/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /home/rhubscher/.stack/setup-exe-src/setup-shim-mPHDZzAJ.o )
Linking /home/rhubscher/.stack/setup-exe-cache/x86_64-linux/tmp-Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 ...
basement-0.0.8: download
byteable-0.1.1: download
byteable-0.1.1: configure
SHA-1.6.4.4: download
Cabal-2.0.1.1: download
byteable-0.1.1: build
basement-0.0.8: configure
basement-0.0.8: build
SHA-1.6.4.4: configure
byteable-0.1.1: copy/register
SHA-1.6.4.4: build                                                                      
Cabal-2.0.1.1: configure                                                                
bytestring-builder-0.10.8.1.0: download                                                 
Cabal-2.0.1.1: build                                                                    
bytestring-builder-0.10.8.1.0: configure                                                
bytestring-builder-0.10.8.1.0: build                                                    
bytestring-builder-0.10.8.1.0: copy/register                                            
call-stack-0.1.0: download                                                              
call-stack-0.1.0: configure                                                
call-stack-0.1.0: build                                                    
call-stack-0.1.0: copy/register                                            
HUnit-1.6.0.0: download                                                    
HUnit-1.6.0.0: configure                                                
HUnit-1.6.0.0: build                                                    
HUnit-1.6.0.0: copy/register                                            
cereal-0.5.7.0: download                                                 
cereal-0.5.7.0: configure                                                
cereal-0.5.7.0: build                                                    
cereal-0.5.7.0: copy/register                                            
clock-0.7.2: download                                                    
clock-0.7.2: configure                                                
clock-0.7.2: build                                                    
clock-0.7.2: copy/register                                            
colour-2.3.4: download                                                 
colour-2.3.4: configure                                                
colour-2.3.4: build                                                    
colour-2.3.4: copy/register                                            
ansi-terminal-0.8.0.4: download                                                 
ansi-terminal-0.8.0.4: configure                                                
ansi-terminal-0.8.0.4: build                                                    
basement-0.0.8: copy/register                                                   
ansi-terminal-0.8.0.4: copy/register                                                        
data-default-class-0.1.2.0: download                                                         
data-default-class-0.1.2.0: configure                                                        
ansi-wl-pprint-0.6.8.2: download                                                             
data-default-class-0.1.2.0: build                                                            
ansi-wl-pprint-0.6.8.2: configure                                                            
data-default-class-0.1.2.0: copy/register                                                    
ansi-wl-pprint-0.6.8.2: build                                                                
digest-0.0.1.2: download                                                                     
digest-0.0.1.2: configure                                                         
digest-0.0.1.2: build                                                             
ansi-wl-pprint-0.6.8.2: copy/register                                             
digest-0.0.1.2: copy/register                                                     
file-embed-0.0.10.1: download                                                     
file-embed-0.0.10.1: configure                                                    
foundation-0.0.21: download                                                       
file-embed-0.0.10.1: build                                                        
foundation-0.0.21: configure                                                      
foundation-0.0.21: build                                                          
file-embed-0.0.10.1: copy/register                                                
hourglass-0.2.11: download                                                        
hourglass-0.2.11: configure                                                    
hourglass-0.2.11: build                                                        
hourglass-0.2.11: copy/register                                                
integer-logarithms-1.0.2.1: download                                                     
integer-logarithms-1.0.2.1: configure                                                    
integer-logarithms-1.0.2.1: build                                                        
integer-logarithms-1.0.2.1: copy/register                                                
mtl-2.2.2: download                                                                      
mtl-2.2.2: configure                                                    
mtl-2.2.2: build                                                        
mtl-2.2.2: copy/register                                                
logict-0.6.0.2: download                                                     
logict-0.6.0.2: configure                                                    
logict-0.6.0.2: build                                                        
logict-0.6.0.2: copy/register                                                
network-2.6.3.6: download                                                     
network-2.6.3.6: configure                                                    
network-2.6.3.6: build                                                        
SHA-1.6.4.4: copy/register                                                    
old-locale-1.0.0.7: download                                                         
old-locale-1.0.0.7: configure                                                        
old-locale-1.0.0.7: build                                                            
network-2.6.3.6: copy/register                                                       
old-locale-1.0.0.7: copy/register                                                        
prettyclass-1.0.0.0: download                                                            
prettyclass-1.0.0.0: configure                                                           
primitive-0.6.4.0: download                                                              
prettyclass-1.0.0.0: build                                                              
primitive-0.6.4.0: configure                                                            
primitive-0.6.4.0: build                                                                
prettyclass-1.0.0.0: copy/register                                                      
foundation-0.0.21: copy/register                                                        
random-1.1: download                                                                    
random-1.1: configure                                                          
memory-0.14.16: download                                                       
random-1.1: build                                                           
memory-0.14.16: configure                                                   
memory-0.14.16: build                                                       
random-1.1: copy/register                                                   
edit-distance-0.2.2.1: download                                                        
edit-distance-0.2.2.1: configure                                                       
edit-distance-0.2.2.1: build                                                           
memory-0.14.16: copy/register                                                          
asn1-types-0.3.2: download                                                               
asn1-types-0.3.2: configure                                                              
asn1-types-0.3.2: build                                                                  
primitive-0.6.4.0: copy/register                                                         
cryptonite-0.25: download                                                                
cryptonite-0.25: configure                                                             
cryptonite-0.25: build                                                                 
edit-distance-0.2.2.1: copy/register                                                   
asn1-types-0.3.2: copy/register                                                        
pem-0.2.4: download                                                           
pem-0.2.4: configure                                                          
asn1-encoding-0.9.5: download                                                 
pem-0.2.4: build                                                              
asn1-encoding-0.9.5: configure                                                
asn1-encoding-0.9.5: build                                                    
pem-0.2.4: copy/register                                                      
raw-strings-qq-1.1: download                                                           
raw-strings-qq-1.1: configure                                                          
raw-strings-qq-1.1: build                                                              
raw-strings-qq-1.1: copy/register                                                      
asn1-encoding-0.9.5: copy/register                                                     
regex-base-0.93.2: download                                                           
regex-base-0.93.2: configure                                                          
asn1-parse-0.9.4: download                                                            
regex-base-0.93.2: build                                                           
asn1-parse-0.9.4: configure                                                        
asn1-parse-0.9.4: build                                                            
asn1-parse-0.9.4: copy/register                                                    
regex-base-0.93.2: copy/register                                                   
socks-0.5.6: download                                                              
socks-0.5.6: configure                                                         
regex-posix-0.95.2: download                                                   
socks-0.5.6: build                                                             
regex-posix-0.95.2: configure                                                  
regex-posix-0.95.2: build                                                      
regex-posix-0.95.2: copy/register                                              
stm-2.4.5.0: download                                                          
stm-2.4.5.0: configure                                                  
stm-2.4.5.0: build                                                      
socks-0.5.6: copy/register                                              
text-1.2.3.0: download                                                   
text-1.2.3.0: configure                                                  
stm-2.4.5.0: copy/register                                               
text-1.2.3.0: build                                                      
async-2.1.1.1: download                                                    
async-2.1.1.1: configure                                                   
async-2.1.1.1: build                                                       
async-2.1.1.1: copy/register                                               
haskeline-0.7.4.3: download                                                    
haskeline-0.7.4.3: configure                                                   
haskeline-0.7.4.3: build                                                       
haskeline-0.7.4.3: copy/register                                               
transformers-compat-0.5.1.4: download                                                    
transformers-compat-0.5.1.4: configure                                                   
transformers-compat-0.5.1.4: build                                                       
transformers-compat-0.5.1.4: copy/register                                               
exceptions-0.8.3: download                                                               
exceptions-0.8.3: configure                                                   
exceptions-0.8.3: build                                                       
exceptions-0.8.3: copy/register                                               
transformers-base-0.4.4: download                                                    
transformers-base-0.4.4: configure                                                   
transformers-base-0.4.4: build                                                       
transformers-base-0.4.4: copy/register                                               
monad-control-1.0.2.3: download                                                      
monad-control-1.0.2.3: configure                                                   
monad-control-1.0.2.3: build                                                       
monad-control-1.0.2.3: copy/register                                               
lifted-base-0.2.3.12: download                                                     
lifted-base-0.2.3.12: configure                                                   
lifted-base-0.2.3.12: build                                                       
lifted-base-0.2.3.12: copy/register                                               
unix-compat-0.5.0.1: download                                                     
unix-compat-0.5.0.1: configure                                                   
unix-compat-0.5.0.1: build                                                       
unix-compat-0.5.0.1: copy/register                                               
utf8-string-1.0.1.1: download                                                    
utf8-string-1.0.1.1: configure                                                   
utf8-string-1.0.1.1: build                                                       
utf8-string-1.0.1.1: copy/register                                               
cryptonite-0.25: copy/register                                                   
vector-0.12.0.1: download                                                        
vector-0.12.0.1: configure                                                   
x509-1.7.3: download                                                    
vector-0.12.0.1: build                                                  
x509-1.7.3: configure                                                   
x509-1.7.3: build                                                       
text-1.2.3.0: copy/register                                             
blaze-builder-0.4.1.0: download                                                  
blaze-builder-0.4.1.0: configure                                                 
blaze-builder-0.4.1.0: build                                                     
x509-1.7.3: copy/register                                                        
cookie-0.4.4: download                                                             
cookie-0.4.4: configure                                                            
cookie-0.4.4: build                                                                
blaze-builder-0.4.1.0: copy/register                                               
cookie-0.4.4: copy/register                                                        
hashable-1.2.7.0: download                                                    
hashable-1.2.7.0: configure                                                   
mime-types-0.1.0.8: download                                                        
hashable-1.2.7.0: build                                                             
mime-types-0.1.0.8: configure                                                       
mime-types-0.1.0.8: build                                                           
hashable-1.2.7.0: copy/register                                                     
case-insensitive-1.2.0.11: download                                                          
case-insensitive-1.2.0.11: configure                                                         
case-insensitive-1.2.0.11: build                                                             
case-insensitive-1.2.0.11: copy/register                                                     
http-types-0.12.1: download                                                                  
http-types-0.12.1: configure                                                         
http-types-0.12.1: build                                                             
mime-types-0.1.0.8: copy/register                                                    
parsec-3.1.13.0: download                                                            
parsec-3.1.13.0: configure                                                        
parsec-3.1.13.0: build                                                            
http-types-0.12.1: copy/register                                                  
readable-0.3.1: download                                                          
readable-0.3.1: configure                                                      
readable-0.3.1: build                                                          
readable-0.3.1: copy/register                                                  
scientific-0.3.6.2: download                                                       
scientific-0.3.6.2: configure                                                      
scientific-0.3.6.2: build                                                          
parsec-3.1.13.0: copy/register                                                     
language-glsl-0.2.1: download                                                          
language-glsl-0.2.1: configure                                                         
language-glsl-0.2.1: build                                                             
scientific-0.3.6.2: copy/register                                                      
attoparsec-0.13.2.2: download                                                           
attoparsec-0.13.2.2: configure                                                          
attoparsec-0.13.2.2: build                                                              
language-glsl-0.2.1: copy/register                                                      
network-uri-2.6.1.0: download                                                           
network-uri-2.6.1.0: configure                                                          
network-uri-2.6.1.0: build                                                              
Cabal-2.0.1.1: copy/register                                                            
Progress 58/79: attoparsec-0.13.2.2, network-uri-2.6.1.0, unordered-containers-0.2.9.0, vector-0.12.0.                                                                                                      unordered-containers-0.2.9.0: download
Progress 58/79: attoparsec-0.13.2.2, network-uri-2.6.1.0, unordered-containers-0.2.9.0, vector-0.12.0.                                                                                                      unordered-containers-0.2.9.0: configure
Progress 58/79: attoparsec-0.13.2.2, network-uri-2.6.1.0, unordered-containers-0.2.9.0, vector-0.12.0.                                                                                                      unordered-containers-0.2.9.0: build
Progress 58/79: attoparsec-0.13.2.2, network-uri-2.6.1.0, unordered-containers-0.2.9.0, vector-0.12.0.                                                                                                      network-uri-2.6.1.0: copy/register
Progress 58/79: attoparsec-0.13.2.2, network-uri-2.6.1.0, unordered-containers-0.2.9.0, vector-0.12.0.                                                                                                      HTTP-4000.3.12: download                                                                          
HTTP-4000.3.12: configure                                                                         
HTTP-4000.3.12: build                                                                             
unordered-containers-0.2.9.0: copy/register                                                       
x509-store-1.6.6: download                                                                        
x509-store-1.6.6: configure                                                           
HTTP-4000.3.12: copy/register                                                         
x509-store-1.6.6: build                                                               
zlib-0.6.2: download                                                                  
attoparsec-0.13.2.2: copy/register                                                
zlib-0.6.2: configure                                                             
zlib-0.6.2: build                                                                 
x509-store-1.6.6: copy/register                              
x509-validation-1.6.10: download                                                      
x509-system-1.6.6: download                                                           
x509-system-1.6.6: configure                                                          
x509-system-1.6.6: build                                                              
x509-validation-1.6.10: configure                                                     
x509-validation-1.6.10: build                                                         
x509-system-1.6.6: copy/register                                                      
vector-0.12.0.1: copy/register                                                        
x509-validation-1.6.10: copy/register                              
tls-1.4.1: download                               
tls-1.4.1: configure                 
zlib-0.6.2: copy/register            
tls-1.4.1: build                     
zlib-bindings-0.1.1.5: download                                                              
zip-archive-0.3.3: download                                                                  
streaming-commons-0.1.19: download                                                           
zip-archive-0.3.3: configure                                                                 
zip-archive-0.3.3: build                                                                     
zlib-bindings-0.1.1.5: configure                                                             
zlib-bindings-0.1.1.5: build                                                                 
streaming-commons-0.1.19: configure                                                          
streaming-commons-0.1.19: build                                                              
zlib-bindings-0.1.1.5: copy/register                                                         
io-streams-1.5.0.1: download                                                                 
io-streams-1.5.0.1: configure                                                             
io-streams-1.5.0.1: build                                                                 
zip-archive-0.3.3: copy/register                                                          
streaming-commons-0.1.19: copy/register                                                   
http-client-0.5.13.1: download                                         
http-client-0.5.13.1: configure                                    
http-client-0.5.13.1: build                                        
io-streams-1.5.0.1: copy/register                                  
io-streams-haproxy-1.0.0.2: download                                                          
io-streams-haproxy-1.0.0.2: configure                                                         
snap-core-1.0.3.2: download                                                                   
io-streams-haproxy-1.0.0.2: build                                                             
snap-core-1.0.3.2: configure                                                                  
snap-core-1.0.3.2: build                                                                      
io-streams-haproxy-1.0.0.2: copy/register                                                     
http-client-0.5.13.1: copy/register                                                           
tls-1.4.1: copy/register                                          
connection-0.2.8: download                                        
connection-0.2.8: configure                        
connection-0.2.8: build                            
connection-0.2.8: copy/register                    
http-client-tls-0.3.5.3: download                         
http-client-tls-0.3.5.3: configure                        
http-client-tls-0.3.5.3: build                            
http-client-tls-0.3.5.3: copy/register                    
snap-core-1.0.3.2: copy/register                          
snap-server-1.0.3.3: download      
snap-server-1.0.3.3: configure     
snap-server-1.0.3.3: build         
snap-server-1.0.3.3: copy/register 
Building all executables for `elm' once. After a successful build of all of them, only specified executables will be rebuilt.
elm-0.19.0: configure (exe)        
Configuring elm-0.19.0... 
elm-0.19.0: build (exe)   
Preprocessing executable 'elm' for elm-0.19.0..
Building executable 'elm' for elm-0.19.0..
[  1 of 167] Compiling AST.Utils.Binop  ( compiler/src/AST/Utils/Binop.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Utils/Binop.o )
[  2 of 167] Compiling Data.Bag         ( compiler/src/Data/Bag.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Data/Bag.o )
[  3 of 167] Compiling Data.Index       ( compiler/src/Data/Index.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Data/Index.o )
[  4 of 167] Compiling Data.OneOrMore   ( compiler/src/Data/OneOrMore.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Data/OneOrMore.o )
[  5 of 167] Compiling Elm.Name         ( compiler/src/Elm/Name.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Name.o )
[  6 of 167] Compiling AST.Utils.Shader ( compiler/src/AST/Utils/Shader.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Utils/Shader.o )
[  7 of 167] Compiling File.Hash        ( builder/src/File/Hash.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Hash.o )
[  8 of 167] Compiling Generate.Functions ( builder/src/Generate/Functions.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/Functions.o )
[  9 of 167] Compiling Generate.Html    ( builder/src/Generate/Html.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/Html.o )
[ 10 of 167] Compiling Json.Encode      ( compiler/src/Json/Encode.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Json/Encode.o )
[ 11 of 167] Compiling Json.Decode.Internals ( compiler/src/Json/Decode/Internals.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Json/Decode/Internals.o )
[ 12 of 167] Compiling Elm.Package      ( compiler/src/Elm/Package.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Package.o )
[ 13 of 167] Compiling AST.Module.Name  ( compiler/src/AST/Module/Name.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Module/Name.o )
[ 14 of 167] Compiling Generate.JavaScript.Name ( compiler/src/Generate/JavaScript/Name.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/JavaScript/Name.o )
[ 15 of 167] Compiling Generate.JavaScript.Builder ( compiler/src/Generate/JavaScript/Builder.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/JavaScript/Builder.o )
[ 16 of 167] Compiling Develop.Generate.Help ( terminal/src/Develop/Generate/Help.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Develop/Generate/Help.o )
[ 17 of 167] Compiling Paths_elm        ( .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/autogen/Paths_elm.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Paths_elm.o )
[ 18 of 167] Compiling Elm.Compiler.Version ( compiler/src/Elm/Compiler/Version.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler/Version.o )
[ 19 of 167] Compiling Reporting.Doc    ( compiler/src/Reporting/Doc.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Doc.o )
[ 20 of 167] Compiling Reporting.Progress.Bar ( builder/src/Reporting/Progress/Bar.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Progress/Bar.o )
[ 21 of 167] Compiling Reporting.Region ( compiler/src/Reporting/Region.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Region.o )
[ 22 of 167] Compiling Reporting.Annotation ( compiler/src/Reporting/Annotation.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Annotation.o )
[ 23 of 167] Compiling AST.Source       ( compiler/src/AST/Source.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Source.o )
[ 24 of 167] Compiling Elm.Compiler.Imports ( compiler/src/Elm/Compiler/Imports.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler/Imports.o )
[ 25 of 167] Compiling AST.Valid        ( compiler/src/AST/Valid.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Valid.o )
[ 26 of 167] Compiling AST.Canonical    ( compiler/src/AST/Canonical.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Canonical.o )
[ 27 of 167] Compiling Optimize.DecisionTree ( compiler/src/Optimize/DecisionTree.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Optimize/DecisionTree.o )
[ 28 of 167] Compiling Nitpick.PatternMatches ( compiler/src/Nitpick/PatternMatches.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Nitpick/PatternMatches.o )
[ 29 of 167] Compiling Elm.Interface    ( compiler/src/Elm/Interface.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Interface.o )
[ 30 of 167] Compiling AST.Utils.Type   ( compiler/src/AST/Utils/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Utils/Type.o )
[ 31 of 167] Compiling AST.Optimized    ( compiler/src/AST/Optimized.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/AST/Optimized.o )
[ 32 of 167] Compiling Optimize.Names   ( compiler/src/Optimize/Names.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Optimize/Names.o )
[ 33 of 167] Compiling Optimize.Port    ( compiler/src/Optimize/Port.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Optimize/Port.o )
[ 34 of 167] Compiling Optimize.Case    ( compiler/src/Optimize/Case.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Optimize/Case.o )
[ 35 of 167] Compiling Optimize.Expression ( compiler/src/Optimize/Expression.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Optimize/Expression.o )
[ 36 of 167] Compiling Generate.Nitpick ( builder/src/Generate/Nitpick.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/Nitpick.o )
[ 37 of 167] Compiling Generate.JavaScript.Mode ( compiler/src/Generate/JavaScript/Mode.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/JavaScript/Mode.o )
[ 38 of 167] Compiling Reporting.Render.Code ( compiler/src/Reporting/Render/Code.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Render/Code.o )
[ 39 of 167] Compiling Reporting.Render.Type.Localizer ( compiler/src/Reporting/Render/Type/Localizer.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Render/Type/Localizer.o )
[ 40 of 167] Compiling Reporting.Render.Type ( compiler/src/Reporting/Render/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Render/Type.o )
[ 41 of 167] Compiling Reporting.Report ( compiler/src/Reporting/Report.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Report.o )
[ 42 of 167] Compiling Reporting.Error.Syntax ( compiler/src/Reporting/Error/Syntax.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error/Syntax.o )
[ 43 of 167] Compiling Parse.Primitives.Internals ( compiler/src/Parse/Primitives/Internals.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Internals.o )
[ 44 of 167] Compiling Parse.Primitives.Variable ( compiler/src/Parse/Primitives/Variable.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Variable.o )
[ 45 of 167] Compiling Parse.Primitives.Symbol ( compiler/src/Parse/Primitives/Symbol.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Symbol.o )
[ 46 of 167] Compiling Parse.Primitives.Whitespace ( compiler/src/Parse/Primitives/Whitespace.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Whitespace.o )
[ 47 of 167] Compiling Parse.Primitives.Shader ( compiler/src/Parse/Primitives/Shader.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Shader.o )
[ 48 of 167] Compiling Parse.Primitives.Number ( compiler/src/Parse/Primitives/Number.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Number.o )
[ 49 of 167] Compiling Parse.Primitives.Utf8 ( compiler/src/Parse/Primitives/Utf8.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Utf8.o )
[ 50 of 167] Compiling Parse.Primitives.Keyword ( compiler/src/Parse/Primitives/Keyword.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Keyword.o )
[ 51 of 167] Compiling Parse.Primitives.Kernel ( compiler/src/Parse/Primitives/Kernel.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives/Kernel.o )
[ 52 of 167] Compiling Parse.Primitives ( compiler/src/Parse/Primitives.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Primitives.o )
[ 53 of 167] Compiling Parse.Type       ( compiler/src/Parse/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Type.o )
[ 54 of 167] Compiling Parse.Shader     ( compiler/src/Parse/Shader.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Shader.o )
[ 55 of 167] Compiling Parse.Pattern    ( compiler/src/Parse/Pattern.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Pattern.o )
[ 56 of 167] Compiling Parse.Module     ( compiler/src/Parse/Module.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Module.o )
[ 57 of 167] Compiling Parse.Repl       ( compiler/src/Parse/Repl.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Repl.o )
[ 58 of 167] Compiling Parse.Expression ( compiler/src/Parse/Expression.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Expression.o )
[ 59 of 167] Compiling Parse.Declaration ( compiler/src/Parse/Declaration.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Declaration.o )
[ 60 of 167] Compiling Reporting.Error.Pattern ( compiler/src/Reporting/Error/Pattern.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error/Pattern.o )
[ 61 of 167] Compiling Reporting.Error.Docs ( compiler/src/Reporting/Error/Docs.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error/Docs.o )
[ 62 of 167] Compiling Json.Decode.Error ( compiler/src/Json/Decode/Error.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Json/Decode/Error.o )
[ 63 of 167] Compiling Json.Decode      ( compiler/src/Json/Decode.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Json/Decode.o )
[ 64 of 167] Compiling Elm.Compiler.Type ( compiler/src/Elm/Compiler/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler/Type.o )
[ 65 of 167] Compiling Elm.Compiler.Type.Extract ( compiler/src/Elm/Compiler/Type/Extract.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler/Type/Extract.o )
[ 66 of 167] Compiling Generate.JavaScript.Expression ( compiler/src/Generate/JavaScript/Expression.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/JavaScript/Expression.o )
[ 67 of 167] Compiling Generate.JavaScript ( compiler/src/Generate/JavaScript.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/JavaScript.o )
[ 68 of 167] Compiling Elm.Compiler.Objects ( compiler/src/Elm/Compiler/Objects.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler/Objects.o )
[ 69 of 167] Compiling Elm.Compiler.Module ( compiler/src/Elm/Compiler/Module.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler/Module.o )
[ 70 of 167] Compiling Reporting.Suggest ( compiler/src/Reporting/Suggest.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Suggest.o )
[ 71 of 167] Compiling Reporting.Error.Canonicalize ( compiler/src/Reporting/Error/Canonicalize.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error/Canonicalize.o )
[ 72 of 167] Compiling Reporting.Error.Main ( compiler/src/Reporting/Error/Main.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error/Main.o )
[ 73 of 167] Compiling Elm.Project.Licenses ( builder/src/Elm/Project/Licenses.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Project/Licenses.o )
[ 74 of 167] Compiling Reporting.Warning ( compiler/src/Reporting/Warning.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Warning.o )
[ 75 of 167] Compiling Reporting.Result ( compiler/src/Reporting/Result.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Result.o )
[ 76 of 167] Compiling Canonicalize.Environment.Dups ( compiler/src/Canonicalize/Environment/Dups.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Environment/Dups.o )
[ 77 of 167] Compiling Canonicalize.Environment ( compiler/src/Canonicalize/Environment.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Environment.o )
[ 78 of 167] Compiling Canonicalize.Type ( compiler/src/Canonicalize/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Type.o )
[ 79 of 167] Compiling Canonicalize.Pattern ( compiler/src/Canonicalize/Pattern.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Pattern.o )
[ 80 of 167] Compiling Canonicalize.Environment.Local ( compiler/src/Canonicalize/Environment/Local.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Environment/Local.o )
[ 81 of 167] Compiling Canonicalize.Environment.Foreign ( compiler/src/Canonicalize/Environment/Foreign.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Environment/Foreign.o )
[ 82 of 167] Compiling Canonicalize.Effects ( compiler/src/Canonicalize/Effects.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Effects.o )
[ 83 of 167] Compiling Optimize.Module  ( compiler/src/Optimize/Module.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Optimize/Module.o )
[ 84 of 167] Compiling Canonicalize.Expression ( compiler/src/Canonicalize/Expression.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Expression.o )
[ 85 of 167] Compiling Canonicalize.Module ( compiler/src/Canonicalize/Module.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Canonicalize/Module.o )
[ 86 of 167] Compiling Terminal.Args.Internal ( terminal/src/Terminal/Args/Internal.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Terminal/Args/Internal.o )
[ 87 of 167] Compiling Terminal.Args.Error ( terminal/src/Terminal/Args/Error.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Terminal/Args/Error.o )
[ 88 of 167] Compiling Terminal.Args.Chomp ( terminal/src/Terminal/Args/Chomp.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Terminal/Args/Chomp.o )
[ 89 of 167] Compiling Type.Error       ( compiler/src/Type/Error.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Error.o )
[ 90 of 167] Compiling Reporting.Error.Type ( compiler/src/Reporting/Error/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error/Type.o )
[ 91 of 167] Compiling Reporting.Error  ( compiler/src/Reporting/Error.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Error.o )
[ 92 of 167] Compiling Elm.Kernel       ( compiler/src/Elm/Kernel.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Kernel.o )
[ 93 of 167] Compiling Elm.Header       ( compiler/src/Elm/Header.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Header.o )
[ 94 of 167] Compiling Elm.Docs         ( compiler/src/Elm/Docs.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Docs.o )
[ 95 of 167] Compiling Deps.Diff        ( builder/src/Deps/Diff.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Deps/Diff.o )
[ 96 of 167] Compiling Type.UnionFind   ( compiler/src/Type/UnionFind.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/UnionFind.o )
[ 97 of 167] Compiling Type.Type        ( compiler/src/Type/Type.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Type.o )
[ 98 of 167] Compiling Type.Instantiate ( compiler/src/Type/Instantiate.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Instantiate.o )
[ 99 of 167] Compiling Type.Constrain.Pattern ( compiler/src/Type/Constrain/Pattern.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Constrain/Pattern.o )
[100 of 167] Compiling Type.Constrain.Expression ( compiler/src/Type/Constrain/Expression.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Constrain/Expression.o )
[101 of 167] Compiling Type.Constrain.Module ( compiler/src/Type/Constrain/Module.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Constrain/Module.o )
[102 of 167] Compiling Type.Occurs      ( compiler/src/Type/Occurs.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Occurs.o )
[103 of 167] Compiling Type.Unify       ( compiler/src/Type/Unify.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Unify.o )
[104 of 167] Compiling Type.Solve       ( compiler/src/Type/Solve.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Type/Solve.o )
[105 of 167] Compiling Validate         ( compiler/src/Validate.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Validate.o )
[106 of 167] Compiling Parse.Parse      ( compiler/src/Parse/Parse.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Parse/Parse.o )
[107 of 167] Compiling Compile          ( compiler/src/Compile.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Compile.o )
[108 of 167] Compiling Elm.Compiler     ( compiler/src/Elm/Compiler.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Compiler.o )
[109 of 167] Compiling Terminal.Args    ( terminal/src/Terminal/Args.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Terminal/Args.o )
[110 of 167] Compiling Terminal.Args.Helpers ( terminal/src/Terminal/Args/Helpers.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Terminal/Args/Helpers.o )
[111 of 167] Compiling Reporting.Exit.Compile ( builder/src/Reporting/Exit/Compile.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Compile.o )
[112 of 167] Compiling Reporting.Exit.Help ( builder/src/Reporting/Exit/Help.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Help.o )
[113 of 167] Compiling Reporting.Exit.Publish ( builder/src/Reporting/Exit/Publish.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Publish.o )
[114 of 167] Compiling Reporting.Exit.Make ( builder/src/Reporting/Exit/Make.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Make.o )
[115 of 167] Compiling Reporting.Exit.Install ( builder/src/Reporting/Exit/Install.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Install.o )
[116 of 167] Compiling Reporting.Exit.Init ( builder/src/Reporting/Exit/Init.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Init.o )
[117 of 167] Compiling Reporting.Exit.Http ( builder/src/Reporting/Exit/Http.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Http.o )
[118 of 167] Compiling Reporting.Exit.Diff ( builder/src/Reporting/Exit/Diff.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Diff.o )
[119 of 167] Compiling Reporting.Exit.Bump ( builder/src/Reporting/Exit/Bump.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Bump.o )
[120 of 167] Compiling Reporting.Exit.Assets ( builder/src/Reporting/Exit/Assets.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Assets.o )
[121 of 167] Compiling Reporting.Exit.Crawl ( builder/src/Reporting/Exit/Crawl.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Crawl.o )
[122 of 167] Compiling Elm.Project.Constraint ( builder/src/Elm/Project/Constraint.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Project/Constraint.o )
[123 of 167] Compiling Reporting.Exit.Deps ( builder/src/Reporting/Exit/Deps.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit/Deps.o )
[124 of 167] Compiling Reporting.Exit   ( builder/src/Reporting/Exit.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Exit.o )
[125 of 167] Compiling Reporting.Progress ( builder/src/Reporting/Progress.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Progress.o )
[126 of 167] Compiling Reporting.Progress.Terminal ( builder/src/Reporting/Progress/Terminal.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Progress/Terminal.o )
[127 of 167] Compiling Reporting.Progress.Repl ( builder/src/Reporting/Progress/Repl.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Progress/Repl.o )
[128 of 167] Compiling Reporting.Progress.Json ( builder/src/Reporting/Progress/Json.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Progress/Json.o )
[129 of 167] Compiling Elm.PerUserCache ( builder/src/Elm/PerUserCache.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/PerUserCache.o )
[130 of 167] Compiling Reporting.Task   ( builder/src/Reporting/Task.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Task.o )
[131 of 167] Compiling Stuff.Paths      ( builder/src/Stuff/Paths.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Stuff/Paths.o )
[132 of 167] Compiling Reporting.Task.Http ( builder/src/Reporting/Task/Http.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Reporting/Task/Http.o )
[133 of 167] Compiling Elm.Project.Json ( builder/src/Elm/Project/Json.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Project/Json.o )
[134 of 167] Compiling Elm.Project.Summary ( builder/src/Elm/Project/Summary.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Project/Summary.o )
[135 of 167] Compiling File.Find        ( builder/src/File/Find.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Find.o )
[136 of 167] Compiling File.Args        ( builder/src/File/Args.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Args.o )
[137 of 167] Compiling Deps.Website     ( builder/src/Deps/Website.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Deps/Website.o )
[138 of 167] Compiling File.IO          ( builder/src/File/IO.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/IO.o )
[139 of 167] Compiling File.Header      ( builder/src/File/Header.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Header.o )
[140 of 167] Compiling File.Crawl       ( builder/src/File/Crawl.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Crawl.o )
[141 of 167] Compiling Generate.Output  ( builder/src/Generate/Output.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Generate/Output.o )
[142 of 167] Compiling File.Plan        ( builder/src/File/Plan.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Plan.o )
[143 of 167] Compiling File.Compile     ( builder/src/File/Compile.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Compile.o )
[144 of 167] Compiling File.Artifacts   ( builder/src/File/Artifacts.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/File/Artifacts.o )
[145 of 167] Compiling Deps.Cache       ( builder/src/Deps/Cache.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Deps/Cache.o )
[146 of 167] Compiling Deps.Explorer    ( builder/src/Deps/Explorer.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Deps/Explorer.o )
[147 of 167] Compiling Deps.Solver      ( builder/src/Deps/Solver.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Deps/Solver.o )
[148 of 167] Compiling Init             ( terminal/src/Init.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Init.o )
[149 of 167] Compiling Deps.Verify      ( builder/src/Deps/Verify.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Deps/Verify.o )
[150 of 167] Compiling Stuff.Verify     ( builder/src/Stuff/Verify.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Stuff/Verify.o )
[151 of 167] Compiling Elm.Project.Root ( builder/src/Elm/Project/Root.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Project/Root.o )
[152 of 167] Compiling Elm.Project      ( builder/src/Elm/Project.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Project.o )
[153 of 167] Compiling Repl             ( terminal/src/Repl.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Repl.o )
[154 of 167] Compiling Make             ( terminal/src/Make.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Make.o )
[155 of 167] Compiling Elm.Diff         ( builder/src/Elm/Diff.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Diff.o )
[156 of 167] Compiling Diff             ( terminal/src/Diff.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Diff.o )
[157 of 167] Compiling Elm.Bump         ( builder/src/Elm/Bump.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Bump.o )
[158 of 167] Compiling Elm.Publish      ( builder/src/Elm/Publish.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Publish.o )
[159 of 167] Compiling Publish          ( terminal/src/Publish.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Publish.o )
[160 of 167] Compiling Develop.StaticFiles.Build ( terminal/src/Develop/StaticFiles/Build.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Develop/StaticFiles/Build.o )
[161 of 167] Compiling Develop.StaticFiles ( terminal/src/Develop/StaticFiles.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Develop/StaticFiles.o )
Starting downloads...     
                          
  ● elm/project-metadata-utils 1.0.0
                          
Dependencies ready!                
Success! Compiled 6 modules.                                         
[162 of 167] Compiling Bump             ( terminal/src/Bump.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Bump.o )
[163 of 167] Compiling Develop.Generate.Index ( terminal/src/Develop/Generate/Index.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Develop/Generate/Index.o )
[164 of 167] Compiling Develop          ( terminal/src/Develop.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Develop.o )
[165 of 167] Compiling Elm.Install      ( builder/src/Elm/Install.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Elm/Install.o )
[166 of 167] Compiling Install          ( terminal/src/Install.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Install.o )
[167 of 167] Compiling Main             ( terminal/src/Main.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm-tmp/Main.o )
Linking .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm ...
elm-0.19.0: copy/register 
Installing executable elm in /home/rhubscher/git/elm-compiler/.stack-work/install/x86_64-linux/lts-11.22/8.2.2/bin
Completed 79 action(s).   

$ cp .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/elm/elm /usr/bin/elm2

@Natim
Copy link

Natim commented Feb 11, 2019

@Natim have you confirmed the fix?

Yes I have 👍

$ npm run debug

> catalog@0.0.1 debug ~/elm/catalog/ui
> elm-live src/Main.elm --port=3000 --dir=public/ -- --output=public/app.js --debug

Success! Compiled 1 module.                                          

elm-live:
  The build has succeeded. Starting the server!


Reload web server:
  - Website URL: http://localhost:3000
  - Listening on port: 3000
  - Monitoring dir: public/

elm-live:
  Watching src/**/*.elm.

@JDemler
Copy link

JDemler commented Feb 12, 2019

We merged this PR into our fork and extended the reactor so that is capable of compiling with the --debug flag.

@jesse-c
Copy link

jesse-c commented Feb 12, 2019

Confirmed to be working for me as well (macOS)

@Maxim-Filimonov
Copy link

Maxim-Filimonov commented Feb 13, 2019

Confirmed working with @JDemler fork on OSX using our test repo.
Compiles and runs as expected with the time travelling debugger 👍

@domenkozar
Copy link

cc @evancz

@ocharles
Copy link

Another confirmation that this fixes the issue for me - before we couldn't build our application with --debug, but with this patch applied we can.

@domenkozar
Copy link

@evancz there are requests making --debug optional in parceljs, I'd like to avoid that and rather fix the c ompiler with a bugfix release. How realistic is that?

@domenkozar
Copy link

domenkozar commented Apr 3, 2019

doesn't seem this bug wil get fixed until 0.19.1 af2ea2b

@francescortiz
Copy link

doesn't seem this bug wil get fixed until 0.19.1 af2ea2b

Any idea when it is happening? Just showing which package triggers the error would be a already great improvement.

@domenkozar
Copy link

@evancz I've hit this bug again today.

It would be great to have feedback if it will be fixed in 0.19 or not, to engineer our codebases accordingly.

@evancz
Copy link
Member

evancz commented Jul 8, 2019

This patch adds some logic to avoid the Map.! error, but it does so by hiding the underlying problem.

The root issue was that the types for all package dependencies should be available to the compiler when generating the --debug mode to make sure that types have not changed, so as part of the ongoing structural changes in the compiler, I introduced the DependencyInterface type which makes sure the relevant information from transitive dependencies is available. From there, I made some additions like the Extract.Types type to document the need for this information more explicitly in the structure of the code itself.

I think these changes are a better solution to the root problem. They will be available in the 0.19.1 release, so I am going to close this PR but keep the issues about this bug open at least until the fix is confirmed in the alpha period for the next release.

@martinmullins
Copy link

martinmullins commented Aug 23, 2019

For 0.19.0 my issue was solved by moving elm/virtual-dom to a direct dependency.

Found the map error was failing here:

LOG: extractUnion home:Canonical {_package = Name {_author = "elm", _project = "virtual-dom"}, _module = Name {_name = "VirtualDom"}}                                                                                                     
LOG: extractUnion name:Name {_name = "Node"}  
CallStack (from HasCallStack):                                                                                      
  error, called at compiler/src/Elm/Compiler/Type/Extract.hs:140:50 in Main:Elm.Compiler.Type.Extract

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

Successfully merging this pull request may close these issues.

None yet