on master help sign in
change error message
commit8bc39cd620c6b24c03ccced1067ff17c44046d43 authorEvan Czaplicki <info@elm-lang.org> dateFri 2 Aug 2013, 01:53 (13 years ago) parent96136be
1 file changed+5−5
compiler/Metadata/Prelude.hs+5−5
compiler/Metadata/Prelude.hs+5−5
@@ -36,12 +36,12 @@ interfaces =
3636safeReadDocs :: FilePath -> IO Interfaces
3737safeReadDocs name =
3838 E.catch (readDocs name) $ \err -> do
39+ let _ = err :: IOError
3940 putStrLn $ unlines [ "Error reading types for standard library!"
40− , " " ++ show (err :: IOError)
41− , "The file should be located here: " ++ name
42− , " If you are using a stable version of Elm,"
43− , " please report an issue at github.com/evancz/Elm"
44− , " and specify your versions of Elm and your OS" ]
41+ , " The file should be at " ++ name
42+ , " If you are using a stable version of Elm,"
43+ , " please report an issue at github.com/evancz/Elm"
44+ , " and specify your versions of Elm and your OS" ]
4545 exitFailure
4646
4747readDocs :: FilePath -> IO Interfaces