Fix a long-standing but obscure bug in worker-wrapper generation
authorsimonpj@microsoft.com <unknown>
Wed, 1 Nov 2006 11:04:42 +0000 (11:04 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 1 Nov 2006 11:04:42 +0000 (11:04 +0000)
commit6cac36cc16f7c4158eaf96c628bc5d64226c24e8
tree9511f1c8f59b2c2d66f549f9ef48ee4f5cae8408
parent6da6e65226240f731a98edd19037a01bd4e9fb41
Fix a long-standing but obscure bug in worker-wrapper generation

Worker/wrapper generation sometimes has to add a dummy void (State#) argument
to retain laziness.  But when generating the strictness signature for the
worker, I forgot to take account of the extra argument, resulting in a
bogus strictness signature.

Result, chaos.  Trac 317 shows this up, and this patch fixes it.
compiler/stranal/WwLib.lhs