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:
3674a5c
)
[project @ 2003-12-19 10:39:54 by simonpj]
author
simonpj
<unknown>
Fri, 19 Dec 2003 10:39:54 +0000
(10:39 +0000)
committer
simonpj
<unknown>
Fri, 19 Dec 2003 10:39:54 +0000
(10:39 +0000)
Accept unboxed tuples in type signatures
ghc/compiler/typecheck/TcMType.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/typecheck/TcMType.lhs
b/ghc/compiler/typecheck/TcMType.lhs
index
41e556a
..
174f965
100644
(file)
--- a/
ghc/compiler/typecheck/TcMType.lhs
+++ b/
ghc/compiler/typecheck/TcMType.lhs
@@
-584,6
+584,7
@@
checkValidType ctxt ty
ubx_tup | not gla_exts = UT_NotOk
| otherwise = case ctxt of
TySynCtxt _ -> UT_Ok
+ ExprSigCtxt -> UT_Ok
other -> UT_NotOk
-- Unboxed tuples ok in function results,
-- but for type synonyms we allow them even at