[Git][ghc/ghc][master] Use types already in AST when making .hie file

Marge Bot gitlab at gitlab.haskell.org
Fri May 31 05:58:16 UTC 2019



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
08b4c813 by Matthew Pickering at 2019-05-31T05:58:08Z
Use types already in AST when making .hie file

These were meant to be added in !214 but for some reason wasn't included
in the patch.

Update Haddock submodule for new Types.hs hyperlinker output

- - - - -


2 changed files:

- compiler/hieFile/HieAst.hs
- utils/haddock


Changes:

=====================================
compiler/hieFile/HieAst.hs
=====================================
@@ -479,7 +479,9 @@ instance HasType (LHsExpr GhcTc) where
 
     in
     case tyOpt of
-      _ | skipDesugaring e' -> fallback
+      Just t -> makeTypeNode e' spn t
+      Nothing
+        | skipDesugaring e' -> fallback
         | otherwise -> do
             hs_env <- Hsc $ \e w -> return (e,w)
             (_,mbe) <- liftIO $ deSugarExpr hs_env e


=====================================
utils/haddock
=====================================
@@ -1 +1 @@
-Subproject commit 273d5aa8d4a3208879192aeca3b9f1a8245a3c3e
+Subproject commit f01473ed28e7c2700ff8e87b00ab87a802c9edd9



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/08b4c81363f405bf67ff85c5d132ff5919515095

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/08b4c81363f405bf67ff85c5d132ff5919515095
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190531/07cdb351/attachment-0001.html>


More information about the ghc-commits mailing list