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:
be18544
)
Warning police: Don't rely on defaulting
author
sven.panne@aedion.de
<unknown>
Wed, 14 Mar 2007 12:36:08 +0000
(12:36 +0000)
committer
sven.panne@aedion.de
<unknown>
Wed, 14 Mar 2007 12:36:08 +0000
(12:36 +0000)
utils/genprimopcode/Main.hs
patch
|
blob
|
history
diff --git
a/utils/genprimopcode/Main.hs
b/utils/genprimopcode/Main.hs
index
4a4aac9
..
5bc6ade
100644
(file)
--- a/
utils/genprimopcode/Main.hs
+++ b/
utils/genprimopcode/Main.hs
@@
-371,7
+371,7
@@
gen_primop_list (Info _ entries)
gen_primop_tag :: Info -> String
gen_primop_tag (Info _ entries)
gen_primop_tag :: Info -> String
gen_primop_tag (Info _ entries)
- = unlines (max_def : zipWith f primop_entries [1..])
+ = unlines (max_def : zipWith f primop_entries [1 :: Int ..])
where
primop_entries = filter is_primop entries
f i n = "tagOf_PrimOp " ++ cons i
where
primop_entries = filter is_primop entries
f i n = "tagOf_PrimOp " ++ cons i