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:
fff4d33
)
[project @ 2001-10-15 15:03:24 by simonpj]
author
simonpj
<unknown>
Mon, 15 Oct 2001 15:03:24 +0000
(15:03 +0000)
committer
simonpj
<unknown>
Mon, 15 Oct 2001 15:03:24 +0000
(15:03 +0000)
Add comment for type of unsafeCoerce#
ghc/compiler/basicTypes/MkId.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/basicTypes/MkId.lhs
b/ghc/compiler/basicTypes/MkId.lhs
index
c3d3400
..
0e45b8f
100644
(file)
--- a/
ghc/compiler/basicTypes/MkId.lhs
+++ b/
ghc/compiler/basicTypes/MkId.lhs
@@
-769,6
+769,7
@@
they can unify with both unlifted and lifted types. Hence we provide
another gun with which to shoot yourself in the foot.
\begin{code}
+-- unsafeCoerce# :: forall a b. a -> b
unsafeCoerceId
= pcMiscPrelId unsafeCoerceIdKey pREL_GHC SLIT("unsafeCoerce#") ty info
where