projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2000-10-31 17:30:16 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
types
/
Generics.lhs
diff --git
a/ghc/compiler/types/Generics.lhs
b/ghc/compiler/types/Generics.lhs
index
10f9eed
..
6c48a1f
100644
(file)
--- a/
ghc/compiler/types/Generics.lhs
+++ b/
ghc/compiler/types/Generics.lhs
@@
-231,7
+231,7
@@
mkTyConGenInfo :: DynFlags -> TyCon -> Name -> Name -> Maybe (EP Id)
-- for the fromT and toT conversion functions.
mkTyConGenInfo dflags tycon from_name to_name
- | dopt Opt_Generics dflags
+ | not (dopt Opt_Generics dflags)
= Nothing
| null datacons -- Abstractly imported types don't have