git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Improve impossible case description
commitd00c9652b7030003db1ad8c73b062b38339fc88d authorAntoine R. Dumont <antoine.romain.dumont@gmail.com> dateFri 31 Oct 2014, 19:54 (12 years ago) parentb3bb8be
1 file changed+1−1
psci/Main.hs+1−1
psci/Main.hs+1−1
@@ -376,7 +376,7 @@ handleBrowse moduleName = do
376376 findType envNames m@(_, mIdent) = (mIdent, M.lookup m envNames)
377377 showType :: (P.Ident, Maybe (P.Type, P.NameKind, P.NameVisibility)) -> String
378378 showType (mIdent, Just (mType, _, _)) = show mIdent ++ " :: " ++ P.prettyPrintType mType
379− showType _ = undefined
379+ showType _ = error "The impossible happened in handleBrowse."
380380
381381-- |
382382-- Takes a value and prints its kind