projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
374c57e
)
Add missing case for documented types in the type desugarer
author
davve@dtek.chalmers.se
<unknown>
Fri, 29 Dec 2006 16:32:24 +0000
(16:32 +0000)
committer
davve@dtek.chalmers.se
<unknown>
Fri, 29 Dec 2006 16:32:24 +0000
(16:32 +0000)
compiler/typecheck/TcHsType.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcHsType.lhs
b/compiler/typecheck/TcHsType.lhs
index
4d3224c
..
7eac2a2
100644
(file)
--- a/
compiler/typecheck/TcHsType.lhs
+++ b/
compiler/typecheck/TcHsType.lhs
@@
-506,6
+506,9
@@
ds_type full_ty@(HsForAllTy exp tv_names ctxt ty)
ds_type (HsSpliceTy {}) = panic "ds_type: HsSpliceTy"
+ds_type (HsDocTy ty _) -- Remove the doc comment
+ = dsHsType ty
+
dsHsTypes arg_tys = mappM dsHsType arg_tys
\end{code}